package com.ruoyi.collaborativeApproval.pojo;
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
@Data
|
@TableName("reading_status")
|
public class ReadingStatus implements Serializable {
|
/**
|
* 主键
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
/**
|
* 制度id
|
*/
|
private Long ruleId;
|
/**
|
* 员工姓名
|
*/
|
private String employee;
|
/**
|
* 部门
|
*/
|
private String department;
|
/**
|
* 确认时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime confirmTime;
|
/**
|
* 阅读状态
|
*/
|
private String status;
|
/**
|
* 创建者
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
/**
|
* 修改人
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
/**
|
* 修改时间
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
/**
|
* 租户ID
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
}
|