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 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")
|
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;
|
|
}
|