YYC
2023-09-11 9ad231b419cfb6c07385d06eb68961126651af2f
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
package com.fzzy.async.fzzy35.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 气体业务数据信息包括浓度,氮气,压力信息 气体模块:包括气体浓度
 * 
 * @author Andy
 *
 */
@Data
@Entity
@Table(name = "D_GAS")
@IdClass(Fz35GasKey.class)
public class Fz35Gas implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "BATCH_ID_", length = 40)
    @PropertyDef(label = "批次ID")
    private String batchId;
 
    @Id
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码", description = "")
    private String companyId;
 
    @Id
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "仓库ID", description = "仓库编号")
    private String depotId;
 
    @Column(name = "PER_CO2_")
    @PropertyDef(label = "二氧化碳浓度", description = "平均二氧化碳浓度(PPM)")
    private Double perCo2 = 0.0;
 
    @Column(name = "PER_O2_")
    @PropertyDef(label = "氧气浓度", description = "平均氧气浓度(%)")
    private Double perO2 = 0.0;
 
    @Column(name = "PER_PH3_")
    @PropertyDef(label = "磷化氢浓度", description = "平均磷化氢浓度(PPM)")
    private Double perPh3 = 0.0;
 
    @Column(name = "PER_N2_")
    @PropertyDef(label = "氮气浓度", description = "氮气浓度(%)")
    private Double perN2 = 0.0;
 
    @Column(name = "PER_CO2_MAX_")
    @PropertyDef(label = "二氧化碳浓度-最大", description = "二氧化碳浓度(PPM)")
    private Double perCo2Max = 0.0;
 
    @Column(name = "PER_O2_MAX_")
    @PropertyDef(label = "氧气浓度-最大", description = "氧气浓度(%)")
    private Double perO2Max = 0.0;
 
    @Column(name = "PER_PH3_MAX_")
    @PropertyDef(label = "磷化氢浓度-最大", description = "磷化氢浓度(PPM)")
    private Double perPh3Max = 0.0;
 
    @Column(name = "PER_N2_MAX_")
    @PropertyDef(label = "氮气浓度-最大")
    private Double perN2Max = 0.0;
 
    @Column(name = "PER_CO2_MIN_")
    @PropertyDef(label = "二氧化碳浓度-最小", description = "二氧化碳浓度(PPM)")
    private Double perCo2Min = 0.0;
 
    @Column(name = "PER_O2_MIN_")
    @PropertyDef(label = "氧气浓度-最小", description = "氧气浓度(%)")
    private Double perO2Min = 0.0;
 
    @Column(name = "PER_PH3_MIN_")
    @PropertyDef(label = "磷化氢浓度-最小", description = "磷化氢浓度(PPM)")
    private Double perPh3Min = 0.0;
 
    @Column(name = "PER_N2_MIN_")
    @PropertyDef(label = "氮气浓度-最小")
    private Double perN2Min = 0.0;
 
    @Column(name = "RECEIVE_DATE_")
    @PropertyDef(label = "检测时间")
    private Date receiveDate;
 
    @Column(name = "GAS_START_")
    @PropertyDef(label = "气体采集点开始", description = "气体配置信息")
    private int gasStart;
 
    @Column(name = "GAS_END_")
    @PropertyDef(label = "气体采集点截至", description = "气体配置信息")
    private int gasEnd;
 
    @Column(name = "CHECK_NUM_")
    @PropertyDef(label = "采集通道个数")
    private int checkNum = 0;
 
    @Column(name = "POINTS_", length = 2000)
    @PropertyDef(label = "采集点信息", description = "固定为:passCode,co2,o2,ph3,n2;passCode,co2,o2,ph3,n2;")
    private String points;
 
    @Column(name = "CHECK_USER_", length = 30)
    @PropertyDef(label = "检测人")
    private String checkUser;
 
    @Column(name = "REMARK_", length = 200)
    @PropertyDef(label = "备注信息")
    private String remark;
 
 
    public Fz35Gas() {
        super();
    }
 
    public Fz35Gas(String batchId, String companyId, String depotId,
                   Date receiveDate) {
        super();
        this.batchId = batchId;
        this.companyId = companyId;
        this.depotId = depotId;
        this.perCo2Max = 0.0;
        this.perO2Max = 0.0;
        this.perPh3Max = 0.0;
        this.perCo2Min = 0.0;
        this.perO2Min = 0.0;
        this.perPh3Min = 0.0;
        this.perCo2 = 0.0;
        this.perO2 = 0.0;
        this.perPh3 = 0.0;
        this.receiveDate = receiveDate;
    }
}