|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableLogic; | 
|---|
|  |  |  | import java.text.SimpleDateFormat; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import lombok.experimental.Accessors; | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  | import java.text.SimpleDateFormat; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Accessors(chain = true) | 
|---|
|  |  |  | @TableName("man_purchase_item") | 
|---|
|  |  |  | public class PurchaseItem implements Serializable { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * erp行号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "erp行号") | 
|---|
|  |  |  | private String erpId; | 
|---|
|  |  |  | private String platItemId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 动态字段索引 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty("动态字段索引") | 
|---|
|  |  |  | private String fieldsIndex; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 物料编码 | 
|---|
|  |  |  | 
|---|
|  |  |  | * 标准包装 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "标准包装") | 
|---|
|  |  |  | private Double nomQty; | 
|---|
|  |  |  | private Double nromQty; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * ASN单据数量 | 
|---|
|  |  |  | 
|---|
|  |  |  | * 供应商名称 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "供应商名称") | 
|---|
|  |  |  | private String pulrName; | 
|---|
|  |  |  | private String splrName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 供应商编码 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "供应商编码") | 
|---|
|  |  |  | private String pulrCode; | 
|---|
|  |  |  | private String splrCode; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 供应商批次 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "供应商批次") | 
|---|
|  |  |  | private String pulrBatch; | 
|---|
|  |  |  | private String splrBatch; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 状态 1: 正常  0: 冻结 | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public PurchaseItem() {} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public PurchaseItem(Long purchaseId,String erpId,String matnrCode,String matnrName,String unit,Double anfme,Double qty,Double nomQty,Double asnQty,Double printQty,String pulrName,String pulrCode,String pulrBatch,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { | 
|---|
|  |  |  | public PurchaseItem(Long purchaseId,String erpItemId,String matnrCode,String matnrName,String unit,Double anfme,Double qty,Double nromQty,Double asnQty,Double printQty,String splrName,String splrCode,String splrBatch,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { | 
|---|
|  |  |  | this.purchaseId = purchaseId; | 
|---|
|  |  |  | this.erpId = erpId; | 
|---|
|  |  |  | this.platItemId = erpItemId; | 
|---|
|  |  |  | this.matnrCode = matnrCode; | 
|---|
|  |  |  | this.matnrName = matnrName; | 
|---|
|  |  |  | this.unit = unit; | 
|---|
|  |  |  | this.anfme = anfme; | 
|---|
|  |  |  | this.qty = qty; | 
|---|
|  |  |  | this.nomQty = nomQty; | 
|---|
|  |  |  | this.nromQty = nromQty; | 
|---|
|  |  |  | this.asnQty = asnQty; | 
|---|
|  |  |  | this.printQty = printQty; | 
|---|
|  |  |  | this.pulrName = pulrName; | 
|---|
|  |  |  | this.pulrCode = pulrCode; | 
|---|
|  |  |  | this.pulrBatch = pulrBatch; | 
|---|
|  |  |  | this.splrName = splrName; | 
|---|
|  |  |  | this.splrCode = splrCode; | 
|---|
|  |  |  | this.splrBatch = splrBatch; | 
|---|
|  |  |  | this.status = status; | 
|---|
|  |  |  | this.deleted = deleted; | 
|---|
|  |  |  | this.tenantId = tenantId; | 
|---|