hsy
4 天以前 bb0b80bd7ca7c1f979ab0125ae01f3faa1d14f4b
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
package cn.iocoder.yudao.module.mes.dal.dataobject.dv.metering;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.time.LocalDate;
 
/**
 * MES 计量器具 DO
 *
 * @author 超级管理员
 */
@TableName("mes_dv_metering")
@KeySequence("mes_dv_metering_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesDvMeteringDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 计量器具编码
     */
    private String code;
    /**
     * 计量器具名称
     */
    private String name;
    /**
     * 规格型号
     */
    private String specification;
    /**
     * 品牌/生产厂家
     */
    private String brand;
    /**
     * 器具类别
     *
     * 字典 {@link DictTypeConstants#MES_DV_METERING_CATEGORY}
     */
    private Integer category;
    /**
     * 精度
     */
    @TableField("`precision`")
    private String precision;
    /**
     * 量程
     */
    @TableField("`range`")
    private String range;
    /**
     * 使用部门编号
     */
    private Long deptId;
    /**
     * 责任人编号
     */
    private Long chargeUserId;
    /**
     * 校准周期(月)
     */
    private Integer checkCycleCount;
    /**
     * 投入使用日期
     */
    private LocalDate useDate;
    /**
     * 上次检测日期
     */
    private LocalDate lastCheckDate;
    /**
     * 下次检测日期(到期日)
     */
    private LocalDate nextCheckDate;
    /**
     * 状态
     *
     * 字典 {@link DictTypeConstants#MES_DV_METERING_STATUS}
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;
 
}