fuliqi
2024-11-12 397eda7e04fd23016ba55b1b12af63bfeb00e482
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
package com.ycl.platform.domain.vo;
 
import com.ycl.platform.base.AbsVo;
import com.ycl.platform.domain.entity.WorkOrderYwConditionRecord;
import java.util.List;
import java.time.LocalDateTime;
import org.springframework.lang.NonNull;
import org.springframework.beans.BeanUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
 
/**
 * 工单运维情况记录展示
 *
 * @author xp
 * @since 2024-03-06
 */
@Data
@Accessors(chain = true)
public class WorkOrderYwConditionRecordVO extends AbsVo {
 
    /** 工单ID */
    private Integer workOrderId;
 
    /** 提交人 */
    private Integer unitId;
    private String unitName;
 
    /** 运维情况 */
    private String ywCondition;
 
    /** 佐证材料 */
    private String ywProofMaterials;
 
    /** 是否系统消息 */
    private Boolean sysMsg;
 
    /** 是否系统消息 */
    private Integer userId;
 
    public static WorkOrderYwConditionRecordVO getVoByEntity(@NonNull WorkOrderYwConditionRecord entity, WorkOrderYwConditionRecordVO vo) {
        if(vo == null) {
            vo = new WorkOrderYwConditionRecordVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}