| 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.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import com.dy.common.po.BaseEntity; | 
| import jakarta.validation.constraints.NotEmpty; | 
| import lombok.*; | 
| import org.hibernate.validator.constraints.Length; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 生产线表 | 
|  * @TableName plt_production_line | 
|  */ | 
| @TableName(value="plt_production_line", autoResultMap = true) | 
| @Data | 
| @Builder | 
| @ToString | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| public class PltProductionLine  implements BaseEntity { | 
|     /** | 
|      *  | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     @TableId(type = IdType.AUTO) | 
|     public Long id; | 
|   | 
|     /** | 
|      * 名称 | 
|      */ | 
|     @NotEmpty(message = "名称不能为空") | 
|     public String name; | 
|   | 
|     /** | 
|      * 型号 | 
|      */ | 
|     @NotEmpty(message = "型号不能为空") | 
|     public String type; | 
|   | 
|     /** | 
|      * 厂家 | 
|      */ | 
|     @NotEmpty(message = "厂家不能为空") | 
|     public String factory; | 
|   | 
|     /** | 
|      * 技术负责人 | 
|      */ | 
|     @NotEmpty(message = "技术负责人不能为空") | 
|     public String director; | 
|   | 
|     /** | 
|      * 技术负责人手机号 | 
|      */ | 
|     @NotEmpty(message = "技术负责人手机号不能为空") | 
|     @Length(message = "手机号必须{max}位数据", min = 11, max = 11) | 
|     public String dMobile; | 
|   | 
|     /** | 
|      * 安装时间 | 
|      */ | 
|     @NotEmpty(message = "安装时间不能为空") | 
|     public String installTime; | 
|   | 
|     /** | 
|      * 是否禁用,1是,0否 | 
|      */ | 
|     public Boolean disabled; | 
|     /** | 
|      * 是否删除,1是,0否 | 
|      */ | 
|     public Boolean deleted; | 
|   | 
|     /** | 
|      * 创建时间 | 
|      */ | 
|     public Date dt; | 
|   | 
|     /** | 
|      * 备注 | 
|      */ | 
|     public String remark; | 
|   | 
| } |