| | |
| | | private List<TBatteryGroupBattery> batteries; |
| | | private Integer batteryCount; |
| | | private List<TBatteryGroupRelationField> templateFields; |
| | | /** 电池组当前字段值;templateFields 为现有页面兼容名称。 */ |
| | | private List<TBatteryGroupRelationField> fields; |
| | | |
| | | public Long getGroupId() { return groupId; } public void setGroupId(Long v) { groupId = v; } |
| | | public String getGroupName() { return groupName; } public void setGroupName(String v) { groupName = v; } |
| | |
| | | public List<TBatteryGroupBattery> getBatteries() { return batteries; } public void setBatteries(List<TBatteryGroupBattery> v) { batteries = v; } |
| | | public Integer getBatteryCount() { return batteryCount; } public void setBatteryCount(Integer v) { batteryCount = v; } |
| | | public List<TBatteryGroupRelationField> getTemplateFields() { return templateFields; } public void setTemplateFields(List<TBatteryGroupRelationField> v) { templateFields = v; } |
| | | public List<TBatteryGroupRelationField> getFields() { return fields != null ? fields : templateFields; } |
| | | public void setFields(List<TBatteryGroupRelationField> v) { fields = v; templateFields = v; } |
| | | } |