Administrator
2023-08-07 269ed22bc4dc1ed182a9aaf04d717176881f040d
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
80
81
82
83
84
85
86
87
88
89
90
91
package com.ruoyi.app.patrolplan.domain;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWell;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
import java.util.List;
 
/**
 * app巡检计划对象 ard_app_patrolplan
 * 
 * @author ard
 * @date 2023-08-02
 */
@Data
public class ArdAppPatrolplan extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 主键 */
    private String id;
 
    /** 制定人主键 */
    private String userId;
 
    @Excel(name = "制定人")
    @TableField(exist = false,select = false)
    @JsonInclude(JsonInclude.Include.NON_DEFAULT )
    private String nickName;
 
    /** 周期 */
    @Excel(name = "周期",readConverterExp = "day=每日,once=单次")
    private String cycle;
 
    /** 巡检计划名称 */
    @Excel(name = "巡检计划名称")
    private String planName;
 
    /** 开始时间 */
    @Excel(name = "开始时间")
    private String patroBeginTime;
 
    /** 结束时间(每天为时分秒,仅一次为年月日时分秒) */
    @Excel(name = "结束时间")
    private String patroEndTime;
 
    /**
     * 巡检点查询条件
     */
    @TableField(exist = false,select = false)
//    @JsonInclude(JsonInclude.Include.NON_DEFAULT )
    private String wellId;
 
    /**
     * 巡检人员查询条件
     */
    @TableField(exist = false,select = false)
//    @JsonInclude(JsonInclude.Include.NON_DEFAULT )
    private String pUser;
 
    /**
     * 巡检点集合
     */
    @TableField(exist = false)
    private List<ArdAlarmpointsWell> wellList;
 
    /**
     * 巡检人集合
     */
    @TableField(exist = false)
    private List<SysUser> userList;
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patroEndTime", getPatroEndTime())
            .append("userId", getUserId())
            .append("cycle", getCycle())
            .append("createTime", getCreateTime())
            .append("id", getId())
            .append("planName", getPlanName())
            .append("patroBeginTime", getPatroBeginTime())
            .toString();
    }
}