zxl
2025-12-22 cc4a3ff932b1e768914a4aff0eeaa866d08f9b91
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
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;
    }
 
}