jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.ld.igds.constant.Constant;
import com.ld.igds.n2.N2ModelTag;
import com.ld.igds.n2.N2Util;
 
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 自动气调配置---主表
 *
 * @author: andy.jia
 * @description:
 * @version:
 * @data:2020年1月12日
 */
@Data
@Entity
@Table(name = "D_N2_AUTO")
public class N2Auto implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "主键ID")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
//    @Column(name = "DEPOT_ID_", length = 50)
//    @PropertyDef(label = "仓库ID", description = "仓库编号")
//    private String depotId;
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @Column(name = "RE_DEPOT_ID_", length = 10)
    @PropertyDef(label = "氮气回收仓库", description = "仓库编号")
    private String reDepotId;
 
    @Column(name = "MODE_TAG_", length = 20)
    @PropertyDef(label = "模式标签", description = "用于告知系统,当执行模式=终端时候使用")
    private String modeTag = N2ModelTag.MODEL_99.getCode();
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "模式名称")
    private String name;
 
//    @Column(name = "RUN_STATUS_", length = 20)
//    @PropertyDef(label = "运行状态,01=停止,02=手动运行,03=自动运行")
//    private String runStatus = N2Util.RUN_STATUS_01;
 
    @Column(name = "EXE_MODE_", length = 20)
    @PropertyDef(label = "执行模式", description = "01=系统执行,02=终端执行")
    private String exeMode = N2Util.EXE_MODE_01;
 
    @Column(name = "DISABLED_TAG_", length = 1)
    @PropertyDef(label = "是否禁用")
    private String disabledTag = Constant.YN_N;
 
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "更新时间")
    private Date updateTime;
 
    @Column(name = "UPDATE_USER_", length = 50)
    @PropertyDef(label = "更新人")
    private String updateUser;
 
    @Column(name = "REMARK_", length = 200)
    @PropertyDef(label = "备注信息")
    private String remark;
 
}