|  |  | 
 |  |  | package com.dy.pmsGlobal.pojoPlt; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.baomidou.mybatisplus.annotation.*; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      *  | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @TableId(type = IdType.AUTO) | 
 |  |  |     public Long id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 生产线id | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     public Long lineId; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     public String lineName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 编号 | 
 |  |  |      */ | 
 |  |  |     @NotEmpty(message = "编号不能为空") | 
 |  |  |     @Length(message = "编号必须{max}位数据", min = 4, max = 4) | 
 |  |  | //    @NotEmpty(message = "编号不能为空") | 
 |  |  | //    @Length(message = "编号必须{max}位数据", min = 4, max = 4) | 
 |  |  |     public String code; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     public Date dt; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 是否禁用,1是,0否 | 
 |  |  |      */ | 
 |  |  |     public Boolean disabled; | 
 |  |  |     /** | 
 |  |  |      * 是否删除,1是,0否 | 
 |  |  |      */ | 
 |  |  |     public Boolean deleted; | 
 |  |  |     /** | 
 |  |  |      * 二维码 | 
 |  |  |      */ | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     public String qrCode; | 
 |  |  |  | 
 |  |  | } |