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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
 
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;
 
/**
 * 检验报告
 * @TableName ins_report
 */
@TableName(value ="ins_report")
@Data
public class InsReport extends OrderBy implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    @ValueTableShow(value = 1, name = "报告编号")
    @ApiModelProperty("报告编号")
    private String code;
 
    /**
     * 外键:检验单id
     */
    private Integer insOrderId;
 
    /**
     * 外键:样品idid
     */
    private Integer insSampleId;
 
    /**
     * 系统生成报告地址
     */
    private String url;
 
    /**
     * 手动上传报告地址
     */
    private String urlS;
 
    /**
     * 1:批准 0:不批准
     */
    @ValueTableShow(value = 11, name = "批准状态")
    private Integer isRatify;
 
    @ValueTableShow(value = 12, name = "批准备注")
    private String ratifyTell;
 
    /**
     * 1:审核通过 0:审核不通过
     */
    @ValueTableShow(value = 7, name = "审核状态")
    private Integer isExamine;
 
    @ValueTableShow(value = 8, name = "审核备注")
    private String examineTell;
 
    /**
     * 外键:用户id(提交人)
     */
    private Integer writeUserId;
 
    /**
     * 外键:用户id(批准人)
     */
    private Integer ratifyUserId;
 
    /**
     * 外键:用户id(审核人)
     */
    private Integer examineUserId;
 
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @ValueTableShow(value = 2, name = "创建时间")
    @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;
 
    /**
     * 1:已提交 0:待提交
     */
    @ValueTableShow(value = 4, name = "提交状态")
    private Integer state;
 
    @ValueTableShow(value = 5, name = "提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime writeTime;
 
    @ValueTableShow(value = 9, name = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime examineTime;
 
    @ValueTableShow(value = 13, name = "批准时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ratifyTime;
 
 
}