bug
luohairen
2024-12-10 062b1245a57d4e8a1e04a62efbc7d872e36eb073
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
package com.ycl.domain.vo;
 
 
import com.ycl.domain.entity.Plan;
import java.util.List;
 
import com.ycl.system.domain.base.AbsVo;
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;
 
/**
 * 项目计划表展示
 *
 * @author lhr
 * @since 2024-11-22
 */
@Data
@ApiModel(value = "项目计划表响应数据", description = "项目计划表响应数据")
public class PlanVO 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;
 
    public static PlanVO getVoByEntity(@NonNull Plan entity, PlanVO vo) {
        if(vo == null) {
            vo = new PlanVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}