| | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | private Long relationId; |
| | | /** 最终数据库主键;relationId 仅作为旧页面入参别名保留。 */ |
| | | private Long testBatteryId; |
| | | private Long testId; |
| | | @NotNull(message = "电池组不能为空") |
| | | private Long groupId; |
| | |
| | | |
| | | public Long getRelationId() { return relationId; } |
| | | public void setRelationId(Long value) { relationId = value; } |
| | | public Long getTestBatteryId() { return testBatteryId != null ? testBatteryId : relationId; } |
| | | public void setTestBatteryId(Long value) { testBatteryId = value; relationId = value; } |
| | | public Long getTestId() { return testId; } |
| | | public void setTestId(Long value) { testId = value; } |
| | | public Long getGroupId() { return groupId; } |