| package com.dy.pmsGlobal.pojoPr; | 
|   | 
| import com.alibaba.fastjson2.annotation.JSONField; | 
| import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import com.dy.common.po.BaseEntity; | 
| import jakarta.validation.constraints.NotEmpty; | 
| import jakarta.validation.constraints.NotNull; | 
| import lombok.*; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 组装生产任务计划 | 
|  * @TableName pr_assembly_plan | 
|  */ | 
| @TableName(value="pr_assembly_plan", autoResultMap = true) | 
| @Data | 
| @Builder | 
| @ToString | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| public class PrAssemblyPlan implements BaseEntity { | 
|     /** | 
|      *  | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     @TableId | 
|     public Long id; | 
|   | 
|     /** | 
|      * 产品实体编号 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     @NotNull(message = "产品实体编号不能为空") | 
|     public Long proId; | 
|   | 
|     /** | 
|      * 批次实体编号 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     public Long batchId; | 
|   | 
|     /** | 
|      * 生产流程实体编号 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     @NotNull(message = "生产流程实体编号不能为空") | 
|     public Long processId; | 
|   | 
|     /** | 
|      * 名称 | 
|      */ | 
|     @NotEmpty(message = "名称不能为空") | 
|     public String name; | 
|   | 
|     /** | 
|      * 生产数量 | 
|      */ | 
|     @NotNull(message = "生产数量不能为空") | 
|     public Integer number; | 
|   | 
|     /** | 
|      * 状态:正常(1)、暂停(0)、结束(-1) | 
|      */ | 
|     @NotNull(message = "状态不能为空") | 
|     public Integer status; | 
|   | 
|     /** | 
|      * 创建人 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     public Long creator; | 
|     @TableField(exist = false) | 
|     public String creatorName; | 
|     @TableField(exist = false) | 
|     public String proName; | 
|     @TableField(exist = false) | 
|     public String batchNo; | 
|     @TableField(exist = false) | 
|     public String processName; | 
|   | 
|     /** | 
|      * 创建时间 | 
|      */ | 
|     public Date dt; | 
|   | 
|     /** | 
|      * 开始日期 | 
|      */ | 
|     @NotEmpty(message = "开始日期不能为空") | 
|     public String startDate; | 
|   | 
|     /** | 
|      * 结束日期 | 
|      */ | 
|     @NotEmpty(message = "结束日期不能为空") | 
|     public String endDate; | 
|   | 
|     /** | 
|      * 是否删除,1是,0否 | 
|      */ | 
|     @JSONField(serialize = false) | 
|     public Boolean deleted; | 
|   | 
|     /** | 
|      * 作业内容 | 
|      */ | 
|     @NotEmpty(message = "作业内容不能为空") | 
|     public String content; | 
| } |