zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
commit | author | age
a18bfa 1 package com.changhong.epc.bean.admin.extend;
Z 2
3 import java.util.ArrayList;
4 import java.util.List;
5
6 import com.changhong.epc.bean.admin.CostFromTemplate;
7 import com.changhong.epc.bean.admin.CostGroupType;
8 import com.changhong.epc.bean.tenant.cost.CostType;
9
10 import lombok.Data;
11 import lombok.EqualsAndHashCode;
12 @Data
13 @EqualsAndHashCode(callSuper=true)
14 public class CostGroupTypeExtend extends CostGroupType {
15
16     private static final long serialVersionUID = 1L;
17     
18     private List<CostGroupTypeExtend> costgt = new ArrayList<>();
19     
20     private List<CostFromTemplate> costFromTemplate = new ArrayList<>();
21     
22     public void SetProperties(CostGroupType cost){
23         this.setId(cost.getId());
24         this.setNodeName(cost.getNodeName());
25         this.setParentId(cost.getParentId());
26         this.setDataStart(cost.getDataStart());
27         this.setInsT(cost.getInsT());
28         this.setUpdT(cost.getUpdT());
29     }
30 }