package com.ruoyi.approve.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Getter;
|
import lombok.Setter;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 日志表
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-05-08 01:51:13
|
*/
|
@Getter
|
@Setter
|
@ToString
|
@TableName("log_report")
|
@ApiModel(value = "SysLogReport对象", description = "日志表")
|
public class LogReport implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@Schema(description = "主键ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
/**
|
* 日志标题
|
*/
|
@Schema(description = "日志标题")
|
private String title;
|
/**
|
* 报告类型:日报,周报,月报
|
*/
|
@Schema(description = "报告类型:日报,周报,月报")
|
private String reportType;
|
/**
|
* 日志类型:work/project/problem/other
|
*/
|
@Schema(description = "日志类型:work/project/problem/other")
|
private String logType;
|
/**
|
* 日志内容
|
*/
|
@Schema(description = "日志内容")
|
private String content;
|
/**
|
* 推送状态:0未推送 1已推送 2推送失败
|
*/
|
@Schema(description = "推送状态:0未推送 1已推送 2推送失败")
|
private Integer pushStatus;
|
|
/**
|
* 创建人
|
*/
|
@Schema(description = "创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
/**
|
* 创建时间
|
*/
|
@Schema(description = "创建时间")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Integer deptId;
|
|
@Schema(description = "抄送人")
|
private String ccUsers;
|
}
|