| | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.platform.base.AbsVo; |
| | | import com.ycl.platform.domain.entity.CalculateReport; |
| | | import enumeration.general.CalculateReportStatusEnum; |
| | | import lombok.Data; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.lang.NonNull; |
| | |
| | | |
| | | private Integer id; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createTime; |
| | | |
| | | /** 合同 */ |
| | | private Integer contractId; |
| | | |
| | | private Integer whichYear; |
| | | private Integer whichMonth; |
| | | /** 运维单位 */ |
| | | private String unitName; |
| | | private Integer unitId; |
| | | |
| | | /** 合同名称 */ |
| | | private String contractName; |
| | |
| | | /** 核算规则 */ |
| | | private List<CalculateMoneyRuleVO> ruleList; |
| | | |
| | | private CalculateReportStatusEnum status; |
| | | |
| | | public static CalculateReportDetailVO getVoByEntity(@NonNull CalculateReport entity, CalculateReportDetailVO vo) { |
| | | if(vo == null) { |
| | | vo = new CalculateReportDetailVO(); |