|
|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package cn.iocoder.yudao.module.erp.service.stock.bo;
|
|
|
|
|
|
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
|
|
|
|
@ -14,6 +15,7 @@ import java.time.LocalDateTime;
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
public class ErpStockRecordCreateReqBO {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@ -54,7 +56,7 @@ public class ErpStockRecordCreateReqBO {
|
|
|
|
|
/**
|
|
|
|
|
* 业务类型
|
|
|
|
|
*/
|
|
|
|
|
@NotNull(message = "业务类型不能为空")
|
|
|
|
|
// @NotNull(message = "业务类型不能为空")
|
|
|
|
|
private Integer bizType;
|
|
|
|
|
/**
|
|
|
|
|
* 业务编号
|
|
|
|
|
@ -87,20 +89,20 @@ public class ErpStockRecordCreateReqBO {
|
|
|
|
|
this(productId, categoryId, categoryType, warehouseId, null, null, count, bizType, bizId, bizItemId, bizNo, recordTime);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ErpStockRecordCreateReqBO(Long productId, Long categoryId, Integer categoryType, Long warehouseId,
|
|
|
|
|
Long areaId, String areaName, BigDecimal count, Integer bizType, Long bizId,
|
|
|
|
|
Long bizItemId, String bizNo, LocalDateTime recordTime) {
|
|
|
|
|
this.productId = productId;
|
|
|
|
|
this.categoryId = categoryId;
|
|
|
|
|
this.categoryType = categoryType;
|
|
|
|
|
this.warehouseId = warehouseId;
|
|
|
|
|
this.areaId = areaId;
|
|
|
|
|
this.areaName = areaName;
|
|
|
|
|
this.count = count;
|
|
|
|
|
this.bizType = bizType;
|
|
|
|
|
this.bizId = bizId;
|
|
|
|
|
this.bizItemId = bizItemId;
|
|
|
|
|
this.bizNo = bizNo;
|
|
|
|
|
this.recordTime = recordTime;
|
|
|
|
|
}
|
|
|
|
|
// public ErpStockRecordCreateReqBO(Long productId, Long categoryId, Integer categoryType, Long warehouseId,
|
|
|
|
|
// Long areaId, String areaName, BigDecimal count, Integer bizType, Long bizId,
|
|
|
|
|
// Long bizItemId, String bizNo, LocalDateTime recordTime) {
|
|
|
|
|
// this.productId = productId;
|
|
|
|
|
// this.categoryId = categoryId;
|
|
|
|
|
// this.categoryType = categoryType;
|
|
|
|
|
// this.warehouseId = warehouseId;
|
|
|
|
|
// this.areaId = areaId;
|
|
|
|
|
// this.areaName = areaName;
|
|
|
|
|
// this.count = count;
|
|
|
|
|
// this.bizType = bizType;
|
|
|
|
|
// this.bizId = bizId;
|
|
|
|
|
// this.bizItemId = bizItemId;
|
|
|
|
|
// this.bizNo = bizNo;
|
|
|
|
|
// this.recordTime = recordTime;
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
|