yeg
2026-08-26 e12439d1f4a94957d68cda653cb666702bc71040
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
package com.ruoyi.system.domain;
 
import java.io.Serializable;
import java.util.List;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
 
/** 测试与电池号关系对象 t_test_battery。 */
public class TTestBattery implements Serializable
{
    private static final long serialVersionUID = 1L;
 
    private Long relationId;
    private Long testId;
    @NotNull(message = "电池组不能为空")
    private Long groupId;
    @NotBlank(message = "电池号不能为空")
    private String batteryNo;
    @NotNull(message = "检测柜不能为空")
    private Long cabinetId;
    @NotNull(message = "测试通道不能为空")
    @Min(value = 0, message = "测试通道不能小于0")
    private Integer testChannelNo;
    @NotNull(message = "采集器不能为空")
    private Long collectorId;
    @NotNull(message = "温度通道不能为空")
    @Min(value = 0, message = "温度通道不能小于0")
    private Integer temperatureChannelNo;
    @NotNull(message = "正电位通道不能为空")
    @Min(value = 0, message = "正电位通道不能小于0")
    private Integer positiveChannelNo;
    @NotNull(message = "负电位通道不能为空")
    @Min(value = 0, message = "负电位通道不能小于0")
    private Integer negativeChannelNo;
    private String delFlag;
    @NotEmpty(message = "扩展属性不能为空")
    private List<TTestBatteryField> fields;
 
    public Long getRelationId() { return relationId; }
    public void setRelationId(Long relationId) { this.relationId = relationId; }
    public Long getTestId() { return testId; }
    public void setTestId(Long testId) { this.testId = testId; }
    public Long getGroupId() { return groupId; }
    public void setGroupId(Long groupId) { this.groupId = groupId; }
    public String getBatteryNo() { return batteryNo; }
    public void setBatteryNo(String batteryNo) { this.batteryNo = batteryNo; }
    public Long getCabinetId() { return cabinetId; }
    public void setCabinetId(Long cabinetId) { this.cabinetId = cabinetId; }
    public Integer getTestChannelNo() { return testChannelNo; }
    public void setTestChannelNo(Integer testChannelNo) { this.testChannelNo = testChannelNo; }
    public Long getCollectorId() { return collectorId; }
    public void setCollectorId(Long collectorId) { this.collectorId = collectorId; }
    public Integer getTemperatureChannelNo() { return temperatureChannelNo; }
    public void setTemperatureChannelNo(Integer temperatureChannelNo) { this.temperatureChannelNo = temperatureChannelNo; }
    public Integer getPositiveChannelNo() { return positiveChannelNo; }
    public void setPositiveChannelNo(Integer positiveChannelNo) { this.positiveChannelNo = positiveChannelNo; }
    public Integer getNegativeChannelNo() { return negativeChannelNo; }
    public void setNegativeChannelNo(Integer negativeChannelNo) { this.negativeChannelNo = negativeChannelNo; }
    public String getDelFlag() { return delFlag; }
    public void setDelFlag(String delFlag) { this.delFlag = delFlag; }
    public List<TTestBatteryField> getFields() { return fields; }
    public void setFields(List<TTestBatteryField> fields) { this.fields = fields; }
}