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