package com.ruoyi.collaborativeApproval.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import java.io.Serializable;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.models.auth.In;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* 会议申请表
|
* @TableName meet_application
|
*/
|
@TableName(value ="meet_application")
|
@Data
|
public class MeetApplication implements Serializable {
|
/**
|
* 申请ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 会议主题
|
*/
|
@TableField(value = "title")
|
private String title;
|
|
/**
|
* 会议室ID
|
*/
|
@TableField(value = "room_id")
|
private Long roomId;
|
|
/**
|
* 主持人
|
*/
|
@TableField(value = "host")
|
private String host;
|
|
/**
|
* 会议日期
|
*/
|
@TableField(value = "meeting_date")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate meetingDate;
|
|
/**
|
* 开始时间
|
*/
|
@TableField(value = "start_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime startTime;
|
|
/**
|
* 结束时间
|
*/
|
@TableField(value = "end_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime endTime;
|
|
/**
|
* 参会人员(JSON格式存储ID数组)
|
*/
|
@TableField(value = "participants")
|
private String participants;
|
|
/**
|
* 会议说明
|
*/
|
@TableField(value = "description")
|
private String description;
|
|
/**
|
* 申请类型(approval:审批流程, department:部门级, notification:通知发布)
|
*/
|
@TableField(value = "application_type")
|
private String applicationType;
|
|
/**
|
* 状态(0:待审批, 1:已通过, 2:已拒绝, 3:已取消)
|
*/
|
@TableField(value = "status")
|
private Integer status;
|
|
/**
|
* 申请人
|
*/
|
@TableField(value = "applicant")
|
private String applicant;
|
|
|
/**
|
* 创建者
|
*/
|
@TableField(value = "create_user" ,fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time",fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
|
/**
|
* 更新者
|
*/
|
@TableField(value = "update_user",fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
/**
|
* 更新时间
|
*/
|
@TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
/**
|
* 租户ID
|
*/
|
@TableField(value = "tenant_id",fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
@TableField(value = "publish_status")
|
private Integer publishStatus;
|
|
@TableField(value = "publish_comment")
|
private String publishComment;
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
}
|