| | |
| | | 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; |
| | | import java.util.List; |
| | | |
| | | @TableName(value="plt_product", autoResultMap = true) |
| | | @Data |
| | |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | public class PltProduct { |
| | | public class PltProduct implements BaseEntity { |
| | | /** |
| | | * 主键 |
| | | */ |
| | |
| | | public String name; |
| | | |
| | | /** |
| | | * 产品码 |
| | | */ |
| | | public String code; |
| | | |
| | | /** |
| | | * 型号 |
| | | */ |
| | | public String type; |
| | |
| | | /** |
| | | * 典型图片 |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long image; |
| | | |
| | | /** |
| | | * 典型图片web路径 |
| | | */ |
| | | @TableField(exist = false) |
| | | public String imageWebPath; |
| | | |
| | | /** |
| | | * 典型图片缩略图web路径 |
| | | */ |
| | | @TableField(exist = false) |
| | | public String imageWebPathZip; |
| | | /** |
| | | * 二维码 |
| | | */ |
| | | @TableField(exist = false) |
| | | public String qrCode; |
| | | |
| | | /** |
| | | * 技术负责人 |
| | | */ |
| | | public Long director; |
| | | |
| | | @TableField(exist = false) |
| | | public String directorName; |
| | | public String director; |
| | | |
| | | /** |
| | | * 技术负责人手机号 |
| | | */ |
| | | public String dMobile; |
| | | |
| | | /** |
| | | * 是否删除,1是,0否 |
| | | */ |
| | | @JSONField(serialize = false) |
| | | public Boolean deleted; |
| | | |
| | | /** |
| | |
| | | */ |
| | | public String remark; |
| | | |
| | | @NotNull(message = "技术参数不能为空") |
| | | public List<PltProductParams> params; |
| | | |
| | | @NotNull(message = "产品文件不能为空") |
| | | public List<PltProductFile> proFiles; |
| | | |
| | | |
| | | } |