| | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | import java.time.LocalDateTime; |
| | | |
| | | import com.ycl.platform.domain.form.CalculateRecordForm; |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | * @since 2024-04-23 |
| | | */ |
| | | @Data |
| | | @Accessors(chain = true) |
| | | public class CalculateReportVO extends AbsVo { |
| | | |
| | | /** 合同 */ |
| | | private Integer contractId; |
| | | |
| | | /** 运维单位 */ |
| | | private String unitName; |
| | | |
| | | /** 合同名称 */ |
| | | private String contractName; |
| | | |
| | | /** 核算日期 */ |
| | | private LocalDateTime calculateTime; |
| | |
| | | /** 修改人 */ |
| | | private Long updateBy; |
| | | |
| | | /** 明细 */ |
| | | private List<CalculateRecordVO> recordList; |
| | | |
| | | public static CalculateReportVO getVoByEntity(@NonNull CalculateReport entity, CalculateReportVO vo) { |
| | | if(vo == null) { |
| | | vo = new CalculateReportVO(); |