| | |
| | | package com.ycl.platform.domain.vo; |
| | | |
| | | import annotation.Excel; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.platform.domain.entity.CheckResult; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.beans.BeanUtils; |
| | |
| | | |
| | | private Long unitId; |
| | | |
| | | @Excel(name = "考核对象") |
| | | private String unitName; |
| | | |
| | | private Long contractId; |
| | | |
| | | @Excel(name = "运维合同") |
| | | private String contractName; |
| | | |
| | | private Long publishId; |
| | | |
| | | @Excel(name = "考核分数", scale = 2) |
| | | private BigDecimal score; |
| | | |
| | | @Excel(name = "是否发布", readConverterExp = "0=未发布,1=已发布") |
| | | private Integer publish; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "考核时间", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date checkTime; |
| | | |
| | | private String deleted; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date updateTime; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createStartTime; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createEndTime; |
| | | |
| | | public static CheckResultVO getVoByEntity(@NonNull CheckResult entity, CheckResultVO vo) { |
| | | if (vo == null) { |
| | | vo = new CheckResultVO(); |