zss
2024-12-30 97bb7a8832281eafe0ef947ea095258d355e52f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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;
 
}