yeg
2026-09-05 85eb2837e3b3bf5411b332aa2cc38d2755e0d3bf
ruoyi-system/src/main/java/com/ruoyi/system/domain/TTestChannelBinding.java
@@ -12,6 +12,8 @@
    private Long bindingId;
    private Long testId;
    private Long batteryRelationId;
    /** 最终数据库列名对应的测试电池主键。 */
    private Long testBatteryId;
    @NotNull(message = "检测柜通道不能为空")
    private Long channelId;
    @Size(max = 100, message = "预期条码长度不能超过100个字符")
@@ -33,6 +35,8 @@
    public void setTestId(Long value) { testId = value; }
    public Long getBatteryRelationId() { return batteryRelationId; }
    public void setBatteryRelationId(Long value) { batteryRelationId = value; }
    public Long getTestBatteryId() { return testBatteryId != null ? testBatteryId : batteryRelationId; }
    public void setTestBatteryId(Long value) { testBatteryId = value; batteryRelationId = value; }
    public Long getChannelId() { return channelId; }
    public void setChannelId(Long value) { channelId = value; }
    public String getExpectedBarcode() { return expectedBarcode; }