yeg
2026-09-02 29f1afa5fff5440ad5ce7dd40dee1053ea0ff7bf
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
package com.ruoyi.system.domain;
 
import java.io.Serializable;
import java.util.List;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
 
/** 测试内的电池号、必填采集器与设备通道配置。 */
public class TTestBattery implements Serializable
{
    private static final long serialVersionUID = 1L;
 
    private Long relationId;
    private Long testId;
    @NotNull(message = "电池组不能为空")
    private Long groupId;
    private String groupName;
    @NotBlank(message = "电池号不能为空")
    private String batteryNo;
    private Long collectorId;
    private String collectorName;
    private String delFlag;
    @Valid
    @NotNull(message = "主要检测柜通道不能为空")
    private TTestChannelBinding binding;
    @Valid
    private List<TTestCollectorChannel> collectorChannels;
    private List<TTestBatteryField> fields;
 
    public Long getRelationId() { return relationId; }
    public void setRelationId(Long value) { relationId = value; }
    public Long getTestId() { return testId; }
    public void setTestId(Long value) { testId = value; }
    public Long getGroupId() { return groupId; }
    public void setGroupId(Long value) { groupId = value; }
    public String getGroupName() { return groupName; }
    public void setGroupName(String value) { groupName = value; }
    public String getBatteryNo() { return batteryNo; }
    public void setBatteryNo(String value) { batteryNo = value; }
    public Long getCollectorId() { return collectorId; }
    public void setCollectorId(Long value) { collectorId = value; }
    public String getCollectorName() { return collectorName; }
    public void setCollectorName(String value) { collectorName = value; }
    public String getDelFlag() { return delFlag; }
    public void setDelFlag(String value) { delFlag = value; }
    public TTestChannelBinding getBinding() { return binding; }
    public void setBinding(TTestChannelBinding value) { binding = value; }
    public List<TTestCollectorChannel> getCollectorChannels() { return collectorChannels; }
    public void setCollectorChannels(List<TTestCollectorChannel> value) { collectorChannels = value; }
    public List<TTestBatteryField> getFields() { return fields; }
    public void setFields(List<TTestBatteryField> value) { fields = value; }
}