MeetingRoom.java 4.3 KB
package com.skua.modules.meeting.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 会议室
 */
@Data
@TableName("meeting_room")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "meeting_room对象", description = "会议室")
public class MeetingRoom {

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 会议id
     */
    @Excel(name = "会议id", width = 15)
    @ApiModelProperty(value = "会议id")
    private String meetingId;
    /**
     * 会议账号
     */
    @Excel(name = "会议账号", width = 15)
    @ApiModelProperty(value = "会议账号")
    private String meetingNumber;
    /**
     * 会议标题
     */
    @Excel(name = "会议标题", width = 15)
    @ApiModelProperty(value = "会议标题")
    private String meetingTitle;
    /**
     * 会议通知内容
     */
    @Excel(name = "会议通知内容", width = 15)
    @ApiModelProperty(value = "会议通知内容")
    private String meetingContent;
    /**
     * 会议地点
     */
    @Excel(name = "会议地点", width = 15)
    @ApiModelProperty(value = "会议地点")
    private String meetingSite;
    /**
     * 参会人数容量
     */
    @Excel(name = "参会人数容量", width = 15)
    @ApiModelProperty(value = "参会人数容量")
    private String meetingCapacity;
    /**
     * 会议开始时间
     */
    @Excel(name = "会议开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "会议开始时间")
    private Date startTime;
    /**
     * 会议结束时间
     */
    @Excel(name = "会议结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "会议结束时间")
    private Date endTime;
    /**
     * 创建人id
     */
    @Excel(name = "创建人id", width = 15)
    @ApiModelProperty(value = "创建人id")
    private String createBy;

    @Excel(name = "会议室主持人id", width = 15)
    @ApiModelProperty(value = "会议室主持人id")
    private String president;

        // sysAnnouncement.id
    @Excel(name = "系统通告id", width = 15)
    @ApiModelProperty(value = "系统通告id")
    private String anntId;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 修改人id
     */
    @Excel(name = "修改人id", width = 15)
    @ApiModelProperty(value = "修改人id")
    private String updateBy;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(exist = false)
    private String status;

    @ApiModelProperty(value = "分钟时间")
    @TableField(exist = false)
    private String minutes;

    @TableField(exist = false)
    private List<MeetingUser> meetingUserList;

    @TableField(exist = false)
    private MeetingAccount meetingAccount;
}