|  |  | 
 |  |  | package com.dy.pmsGlobal.pojoPlt; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | 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.*; | 
 |  |  | 
 |  |  | @ToString | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | public class PltProductScrappingReason{ | 
 |  |  | public class PltProductScrappingReason  implements BaseEntity { | 
 |  |  |     /** | 
 |  |  |      *  | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @TableId(type = IdType.AUTO) | 
 |  |  |     public Long id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 产品实体编号 | 
 |  |  |      */ | 
 |  |  |     @NotNull(message = "产品实体编号不能为空") | 
 |  |  |     public Long proId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 产品名称 | 
 |  |  |      */ | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     public String proName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 报废原因 | 
 |  |  | 
 |  |  |     public String reason; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 产品ID | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @NotNull(message = "产品id不能为空") | 
 |  |  |     public Long proId; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     public String proName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 排序(从大到小) | 
 |  |  |      */ | 
 |  |  |     public int sort; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 是否禁用,1是,0否 | 
 |  |  |      */ | 
 |  |  |     public Boolean disabled; | 
 |  |  |     /** | 
 |  |  |      * 是否删除,1是,0否 | 
 |  |  |      */ | 
 |  |  |     public Boolean deleted; |