File was renamed from business/src/main/java/com/ycl/domain/vo/ProjectCodingStatusVO.java |
| | |
| | | package com.ycl.domain.vo; |
| | | |
| | | import com.ycl.domain.entity.ProjectOvertimeTimes; |
| | | import com.ycl.system.domain.base.AbsVo; |
| | | import com.ycl.domain.entity.ProjectCodingStatus; |
| | | import java.util.List; |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 展示 |
| | |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "响应数据", description = "响应数据") |
| | | public class ProjectCodingStatusVO extends AbsVo { |
| | | public class ProjectOvertimeTimesVO extends AbsVo { |
| | | |
| | | /** 任务超时数*/ |
| | | @ApiModelProperty("任务超时数") |
| | |
| | | private String projectType; |
| | | |
| | | |
| | | public static ProjectCodingStatusVO getVoByEntity(@NonNull ProjectCodingStatus entity, ProjectCodingStatusVO vo) { |
| | | public static ProjectOvertimeTimesVO getVoByEntity(@NonNull ProjectOvertimeTimes entity, ProjectOvertimeTimesVO vo) { |
| | | if(vo == null) { |
| | | vo = new ProjectCodingStatusVO(); |
| | | vo = new ProjectOvertimeTimesVO(); |
| | | } |
| | | BeanUtils.copyProperties(entity, vo); |
| | | return vo; |