package com.yuanchu.mom.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.yuanchu.mom.annotation.ValueTableShow; import com.yuanchu.mom.common.OrderBy; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; /** * @author 朱佳吉 * @date 2024/5/8 14:11 */ @Data @TableName("ins_un_pass") public class InsUnPass extends OrderBy implements Serializable { /** * 不合格id */ @ApiModelProperty(value = "主键") @TableId(type = IdType.AUTO) private Integer id; /** * 规格型号 */ @ValueTableShow(value = 3, name = "规格型号") private String model; /** * 样品名称 */ @ValueTableShow(value = 2, name = "样品名称") private String sample; /** * 检测项 */ @ValueTableShow(value = 4, name = "检测项") private String inspectionItem; /** * 检测子项 */ @ValueTableShow(value = 5, name = "检测子项") private String inspectionItemSubclass; /** * 检测结果 */ @ValueTableShow(value = 6, name = "检测结果") @TableField("`last_value`") private String lastValue; /** * 处理意见 */ @ValueTableShow(value = 7, name = "处理意见") private String handleSuggestion; /** * 委托编号 */ @ValueTableShow(value = 1, name = "委托编号") private String entrustCode; /** * 用户名 */ @ValueTableShow(value = 9, name = "检验人") private String name; @TableField(fill = FieldFill.INSERT) private Integer createUser; @ApiModelProperty("创建时间") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @ApiModelProperty("修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; }