zxl
2025-03-25 e05049e8cc736ab6db1ea2791641120e024665a3
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
package com.ycl.platform.domain.vo;
 
import com.ycl.platform.base.AbsVo;
import com.ycl.platform.domain.entity.YwPoint;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.beans.BeanUtils;
import org.springframework.lang.NonNull;
 
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
 
/**
 * 定时任务处理工单时效
 *
 * @author xp
 * @since 2024-03-05
 */
@Data
public class YwPointJobVO {
 
    private Integer id;
 
    /** 点位名称 */
    private Date createTime;
 
    /** 点位标签 */
    private String [] pointTags;
    private String pointTagString;
 
    public static YwPointJobVO getVoByEntity(@NonNull YwPoint entity, YwPointJobVO vo) {
        if(vo == null) {
            vo = new YwPointJobVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}