whyczh
2021-11-03 317cdfc4c21f41e6f7e374566c911a520a849f07
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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;
 
import java.util.Date;
 
@Alias("WorksheetMain")
@Data
@TableName( schema = "`db_alarm`",value = "tb_worksheet_main")
public class WorksheetMain {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //标题
    private String title;
    //任务描述
    private String taskDesc;
    //创建人
    private String createUser;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //任务计划开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planBeginTime;
    //任务计划结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planEndTime;
    //开始处理时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    //归档时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    //任务级别
    private Integer taskLevel;
    //是否及时
    private Integer ifIntime;
    //告警描述
    private String alarmDesc;
    //告警是否消除
    private Integer ifAlarmCancel;
    //工单状态 0:自动派单 2:人工派单 3:工单T1处理中 4:工单T2处理中 5:归档
    @ApiModelProperty(value = "工单状态 0:自动派单 2:人工派单 3:工单T1处理中 4:工单T2处理中 5:归档")
    private Integer status;
    //附件名称
    private String fileName;
    //附件地址
    private String fileUrl;
    //图片名称
    private String picName;
    //图片地址
    private String picUrl;
    //归档意见
    private String endReasons;
    //工单号 格式:(WS-210906-0001)
    private String sheetId;
    //0:非自动派单 1:自动派单
    private Integer ifAutot1;
    @TableField(exist = false)
    private Integer dealUserId;
    @TableField(exist = false)
    private String dealUser;
    @TableField(exist = false)
    private Integer dealRoleId;
    @TableField(exist = false)
    private String dealRole;
 
}