xiangpei
2025-02-27 66b258f3e333b2413e3c7c28a8a6794545fc6eb8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.ycl.domain.vo;
 
 
import com.ycl.domain.entity.ProgressPlan;
import com.ycl.system.domain.base.AbsVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
import org.springframework.lang.NonNull;
 
import java.util.Date;
 
/**
 * 项目计划进度展示
 *
 * @author lhr
 * @since 2024-11-22
 */
@Data
@ApiModel(value = "项目计划进度响应数据", description = "项目计划进度响应数据")
public class ProgressPlanVO extends AbsVo {
 
    /** 项目信息表id */
    @ApiModelProperty("项目信息表id")
    private Long projectInfoId;
 
    /** 上报状态(0:已上报,1:未上报) */
    @ApiModelProperty("上报状态(0:已上报,1:未上报)")
    private Integer reportStatus;
 
    /** 月度(0:已上报,1:未上报) */
    @ApiModelProperty("月度(0:已上报,1:未上报)")
    private Integer monthStatus;
 
    /** 季度(0:已上报,1:未上报) */
    @ApiModelProperty("季度(0:已上报,1:未上报)")
    private Integer seasonStatus;
 
    /** 年度(0:已上报,1:未上报) */
    @ApiModelProperty("年度(0:已上报,1:未上报)")
    private Integer yearStatus;
 
    /** 创建时间 */
    @ApiModelProperty("创建时间")
    private Date gmtCreateTime;
 
    /** 修改时间 */
    @ApiModelProperty("修改时间")
    private Date gmtUpdateTime;
 
    public static ProgressPlanVO getVoByEntity(@NonNull ProgressPlan entity, ProgressPlanVO vo) {
        if(vo == null) {
            vo = new ProgressPlanVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}