| | |
| | | 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 java.io.Serializable; |
| | | |
| | | import lombok.*; |
| | | |
| | | /** |
| | | * 产品文件关联表 |
| | | * @TableName plt_product_file |
| | | */ |
| | | @TableName(value="plt_product_file", autoResultMap = true) |
| | | @Data |
| | |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | public class PltProductFile { |
| | | public class PltProductFile implements Serializable { |
| | | /** |
| | | * 主键 |
| | | * |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @TableId(type = IdType.AUTO) |
| | | public Long id; |
| | | |
| | | /** |
| | | * 产品实体编号 |
| | | */ |
| | | * 产品实体编号 |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long proId; |
| | | |
| | | /** |
| | | * 文件编号 |
| | | */ |
| | | * 文件编号 |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long fileId; |
| | | |
| | | /** |
| | | * 文件类型:01:工艺文件,02:用户手册,03:物料清单 |
| | | */ |
| | | public String fileType; |
| | | |
| | | @TableField(exist = false) |
| | | public String webUrl; |
| | | |
| | | @TableField(exist = false) |
| | | public String orgName; |
| | | @TableField(exist = false) |
| | | public String extName; |
| | | |
| | | } |