| | |
| | | private Long bindingId; |
| | | private Long testId; |
| | | private Long batteryRelationId; |
| | | /** 最终数据库列名对应的测试电池主键。 */ |
| | | private Long testBatteryId; |
| | | @NotNull(message = "检测柜通道不能为空") |
| | | private Long channelId; |
| | | @Size(max = 100, message = "预期条码长度不能超过100个字符") |
| | |
| | | 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; } |