|  |  | 
 |  |  |  | 
 |  |  | 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") | 
 |  |  | public class Purchase implements Serializable { | 
 |  |  |  | 
 |  |  | 
 |  |  |     @ApiModelProperty(value= "单据类型") | 
 |  |  |     private String type; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "erp主单标识") | 
 |  |  |     private String platId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 单据来源 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "单据来源") | 
 |  |  |     private String from; | 
 |  |  |     private String source; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 预计到达时间 | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 已收货数量 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "已收货数量") | 
 |  |  |     @ApiModelProperty(value= "收货中数量") | 
 |  |  |     private Double workQty; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      * erp单号 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "erp单号") | 
 |  |  |     private String erpCode; | 
 |  |  |     private String platCode; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 计划收货时间 | 
 |  |  | 
 |  |  |  | 
 |  |  |     public Purchase() {} | 
 |  |  |  | 
 |  |  |     public Purchase(String code,String type,String from,Date preArr,Double anfme,Double qty,Double workQty,String channel,String erpCode,Date startTime,Date endTime,String project,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { | 
 |  |  |     public Purchase(String code,String type,String source,String platId ,Date preArr,Double anfme,Double qty,Double workQty,String channel,String platCode,Date startTime,Date endTime,String project,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { | 
 |  |  |         this.code = code; | 
 |  |  |         this.type = type; | 
 |  |  |         this.from = from; | 
 |  |  |         this.source = source; | 
 |  |  |         this.platId = platId; | 
 |  |  |         this.preArr = preArr; | 
 |  |  |         this.anfme = anfme; | 
 |  |  |         this.qty = qty; | 
 |  |  |         this.workQty = workQty; | 
 |  |  |         this.channel = channel; | 
 |  |  |         this.erpCode = erpCode; | 
 |  |  |         this.platCode = platCode; | 
 |  |  |         this.startTime = startTime; | 
 |  |  |         this.endTime = endTime; | 
 |  |  |         this.project = project; |