package com.yuanchu.mom.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.*; import lombok.experimental.Accessors; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; import java.io.Serializable; /** * 原材料申请单中的项目列表(RawInsProduct)表实体类 * * @author zss * @since 2023-08-01 13:52:31 */ @Data @Accessors(chain = true) @AllArgsConstructor @NoArgsConstructor @EqualsAndHashCode(callSuper = false) @Builder @TableName("raw_ins_product") public class RawInsProduct implements Serializable { private static final long serialVersionUID = 1L; /** * 项目id **/ @TableId(type = IdType.AUTO) private Integer id; /** * 项目名称 **/ private String name; /** * 单位 **/ private String unit; /** * 标准值 **/ private String required; /** * 内控值 **/ private String internal; /** * 检测值 **/ private String testValue; /** * 结论 0:不合格;1:合格 **/ private Integer testState; @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true) private Integer state; @TableField(fill = FieldFill.INSERT) @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date createTime; @TableField(fill = FieldFill.INSERT_UPDATE) @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date updateTime; /** * 关联 设备id **/ private Integer deviceId; /** * 关联 申请单id **/ private Integer rawInspectId; /** * 关联 检验员(用户id) **/ private Integer userId; }