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 costgt = new ArrayList<>(); private List 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()); } }