whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
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
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.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
 
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserWork对象")
@Alias("UserWork")
@TableName(schema = "db_user",value = "tb_user_work")
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserWork {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("workId")
    private Integer workId;
    @TableField("userId")
    private Integer userId;
    @TableField("imageBefore")
    private String imageBefore; //处理前照片
    @TableField("imageAfter")
    private String imageAfter;  //处理后照片
    private String description; //告警描述
    @TableField("workWay")
    private String workWay; //处理方法
    @TableField("workSuggest")
    private String workSuggest; //意见建议
    @TableField("managerId")
    private Integer managerId;  //审核人id
    private String note;    //审核意见
    @TableField("createTime")
    private Date createTime;
    @TableField("endTime")
    private Date endTime;
    @TableField("checkedTime")
    private Date checkedTime;//审核时间
    /**
     * TODO 建议
     * 审核状态:
     * 0-未派发
     * 1-已派发,待处理
     * 2-处理中
     * 3-待审核
     * 4-已完成
     * -1-已驳回
     *
     */
 
    /**
     *
     * 审核状态:
     * xx-1-处理中-xx
     * 2-待审核
     * 3-已完成
     * -1 :驳回
     *
     */
    @TableField("checkStatus")
    private Integer checkStatus;
    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;
    @TableField(exist = false)
    private boolean admin;
 
}