value
2024-04-16 01af9cb1c94e459184ad4d9836662094f14bac7e
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
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;
 
    /**
     * 系统生成报告地址
     */
    private String url;
 
    /**
     * 手动上传报告地址
     */
    private String urlS;
 
    /**
     * 1:批准 0:未批准
     */
    @ValueTableShow(value = 9, name = "批准状态")
    private Integer isRatify;
 
    @ValueTableShow(value = 10, name = "批准备注")
    private String ratifyTell;
 
    /**
     * 1:审核 0:未审核
     */
    @ValueTableShow(value = 6, name = "审核状态")
    private Integer isExamine;
 
    @ValueTableShow(value = 7, name = "审核备注")
    private String examineTell;
 
    /**
     * 外键:用户id(批准人)
     */
    private Integer ratifyUserId;
 
    /**
     * 外键:用户id(审核人)
     */
    private Integer examineUserId;
 
    @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;
 
    @ValueTableShow(value = 4, name = "编制时间")
    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    @ApiModelProperty("编制人")
    private Integer writeUser;
 
    @ApiModelProperty("编制状态")
    private Integer writeState;
}