package com.yuanchu.mom.pojo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; /** * 检验样品 * @TableName ins_sample */ @TableName(value ="ins_sample") @Data public class InsSample implements Serializable { /** * */ @TableId(type = IdType.AUTO) private Integer id; /** * 1:合格 0:不合格 */ private Integer insResult; /** * 外键:ins_order表id */ private Integer insOrderId; /** * 配套样品型号 */ private String joinModel; /** * 配套样品名称 */ private String joinName; /** * 样品编码 */ private String sampleCode; /** * 检验工厂 */ private String factory; /** * 实验室名称 */ private String laboratory; /** * 样品类型 */ private String sampleType; /** * 样品名称 */ private String sample; /** * 规格型号 */ private String model; /** * 是否留样 1:留样 0:不留样 */ private Integer isLeave; /** * 留样数量 */ private Integer leaveNum; /** * 检测进度 */ private String insProgress; /** * 检验状态(0:待检验1:检验中 2:已检验3:待复核4:复核未通过5:复核通过) */ private Integer insState; /** * 下发时间 */ private Date sendTime; /** * 配套样品数量 */ private Integer joinNum; /** * 备注 */ private String remark; /** * 约定时间 */ private Date appointed; /** * */ private Integer createUser; /** * */ private Integer updateUser; /** * */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime createTime; /** * */ private Date updateTime; }