fuliqi
2024-12-05 083ac7646ef2ab4a2614678b158a3dce1482e75c
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package com.ycl.platform.domain.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycl.platform.base.AbsVo;
import com.ycl.platform.domain.entity.YwPoint;
 
import java.util.Date;
import java.util.List;
 
import org.springframework.lang.NonNull;
import org.springframework.beans.BeanUtils;
import lombok.Data;
 
/**
 * 运维点位展示
 *
 * @author xp
 * @since 2024-03-05
 */
@Data
public class YwPointVO extends AbsVo {
 
    /** 点位名称 */
    private String pointName;
 
    /** 点位开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
 
    /** 点位结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
 
    /** 运维单位 */
    private Long unitId;
    private String unitName;
 
    /** 运维状态 */
    private String status;
 
    /** 备注 */
    private String remark;
 
    /** 监管部门 */
    private Long deptId;
    private List<Long> deptIds;
    private String deptName;
 
    /** 重点点位标签 */
    private Boolean importantTag;
 
    /** 省厅点位标签 */
    private Boolean provinceTagVideo;
    private Boolean provinceTagCar;
    private Boolean provinceTagFace;
 
    /** 重点指挥图像标签 */
    private Boolean importantCommandImageTag;
 
    /** 部级标签 */
    private Boolean deptTag;
 
    /** 国标码 */
    private String serialNumber;
 
    /**
     * 动态列
     */
    private List<DynamicColumnVO> dynamicColumnList;
 
    public static YwPointVO getVoByEntity(@NonNull YwPoint entity, YwPointVO vo) {
        if(vo == null) {
            vo = new YwPointVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}