package com.ycl.domain.vo; import com.ycl.system.domain.base.AbsVo; import com.ycl.domain.entity.ProjectPlanExamineRecord; 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; /** * 项目审核记录表展示 * * @author lhr * @since 2024-11-22 */ @Data @ApiModel(value = "项目审核记录表响应数据", description = "项目审核记录表响应数据") public class ProjectPlanExamineRecordVO extends AbsVo { /** 项目计划记录id */ @ApiModelProperty("项目计划记录id") private Long projectPlanRecordId; private Long projectPlanInfoId; /** 上级部门审核人 */ @ApiModelProperty("上级部门审核人") private Long departmentUserId; /** 主管部门审核人 */ @ApiModelProperty("主管部门审核人") private Long managerUserId; /** 上级审核(同意:0,驳回:1) */ @ApiModelProperty("上级审核(同意:0,驳回:1)") private Integer departmentExamine; /** 上级批复 */ @ApiModelProperty("上级批复") private String departmentApproval; /** 上级批复回复 */ @ApiModelProperty("上级批复回复") private String departmentApprovalReply; /** 主管部门审核(同意:0,驳回:1) */ @ApiModelProperty("主管部门审核(同意:0,驳回:1)") private Integer manageExamine; /** 主管部门批复 */ @ApiModelProperty("主管部门批复") private String manageApproval; /** 主管部门批复回复 */ @ApiModelProperty("主管部门批复回复") private String manageApprovalReply; /** 计划上报/延期/进度上报(0/1/2) */ @ApiModelProperty("计划上报/延期/进度上报(0/1/2)") private Integer eventType; /** 延期开始时间 */ @ApiModelProperty("延期开始时间") private Date delayStartTime; /** 延期结束时间 */ @ApiModelProperty("延期结束时间") private Date delayEndTime; public static ProjectPlanExamineRecordVO getVoByEntity(@NonNull ProjectPlanExamineRecord entity, ProjectPlanExamineRecordVO vo) { if(vo == null) { vo = new ProjectPlanExamineRecordVO(); } BeanUtils.copyProperties(entity, vo); return vo; } }