package com.ycl.domain.vo;
|
|
import com.ycl.system.domain.base.AbsVo;
|
import com.ycl.domain.entity.Report;
|
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 zxl
|
* @since 2025-12-18
|
*/
|
@Data
|
@ApiModel(value = "响应数据", description = "响应数据")
|
public class ReportVO extends AbsVo {
|
|
/** */
|
@ApiModelProperty("")
|
private String content;
|
private String status;
|
|
private String fileUrl;
|
|
private String[] fileUrlArray;
|
/** */
|
@ApiModelProperty("")
|
private Long projectId;
|
|
private String remake;
|
/** */
|
@ApiModelProperty("")
|
private String projectName;
|
|
/** */
|
@ApiModelProperty("")
|
private Long userId;
|
|
|
private String userName;
|
|
public static ReportVO getVoByEntity(@NonNull Report entity, ReportVO vo) {
|
if(vo == null) {
|
vo = new ReportVO();
|
}
|
BeanUtils.copyProperties(entity, vo);
|
return vo;
|
}
|
|
}
|