hsy
2026-08-28 a8e4132c3e2e9c3b3fcb0360901b35571b6464ea
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
package com.ruoyi.measuringinstrumentledger.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.sales.pojo.CommonFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
 
/**
 * @author :yys
 * @date : 2025/8/5 9:12
 */
@Data
@TableName("measuring_instrument_ledger_record")
@Schema
public class MeasuringInstrumentLedgerRecord {
 
 
    private static final long serialVersionUID = 1L;
 
    @Schema(description = "计量器具编号")
    @TableField(exist = false)
    @Excel(name = "计量器具编号")
    private String code;
 
    @Schema(description = "名称")
    @TableField(exist = false)
    @Excel(name = "名称")
    private String name;
 
    @Schema(description = "计量器具名称")
    @TableField(exist = false)
    @Excel(name = "计量器具名称")
    private String model;
 
    @Schema(description = "附件id")
    @TableField(exist = false)
    private List<String> tempFileIds;
 
    @TableField(exist = false)
    @Schema(description = "附件列表")
    private List<CommonFile> commonFiles;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "计量器具台账id")
    private Long measuringInstrumentLedgerId;
 
    @Schema(description = "检定人id")
    private Long userId;
 
    @Schema(description = "检定人名称")
    @Excel(name = "检定人名称")
    private String userName;
 
    /**
     * 检定日期
     */
    @Schema(description = "检定日期")
    @Excel(name = "检定日期" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date recordDate;
 
    @Schema(description = "录入日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "录入日期" , width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE)
    private Date entryDate;
 
    /**
     * 有效期(单位天)
     */
    @Schema(description = "有效期(单位天)")
    private Integer valid;
 
    @Schema(description = "溯源/核查类型")
    @Excel(name = "溯源/核查类型")
    private String traceabilityType;
 
    @Schema(description = "实施机构")
    @Excel(name = "实施机构")
    private String implementingAgency;
 
    @Schema(description = "证书编号")
    @Excel(name = "证书编号")
    private String certificateNumber;
 
    @Schema(description = "核心结果")
    @Excel(name = "核心结果")
    private String coreResult;
 
    @Schema(description = "结果确认")
    @Excel(name = "结果确认")
    private String resultConfirmation;
 
    @Schema(description = "有效期至")
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date validUntil;
 
    @Schema(description = "确认人id")
    private Long confirmerId;
 
    @Schema(description = "确认人")
    @Excel(name = "确认人")
    private String confirmerName;
 
 
    /**
     * 状态(1-有效 2-逾期)
     */
    @Schema(description = "状态(1-有效 2-逾期)")
    private Integer status;
 
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    /**
     * 修改者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}