package com.ruoyi.approve.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.approve.utils.ListToStringTypeHandler;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
@Data
|
@TableName("online_meeting")
|
public class OnlineMeeting implements Serializable {
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
/**
|
* 会议标题
|
*/
|
private String title;
|
/**
|
* 开始时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime startTime;
|
/**
|
* 会议时长
|
*/
|
private Integer duration;
|
/**
|
* 会议平台
|
*/
|
private String platform;
|
/**
|
* 会议描述
|
*/
|
private String description;
|
/**
|
* 参会人员
|
*/
|
@TableField(value = "participants",typeHandler = ListToStringTypeHandler.class)
|
private List<String> participants;
|
/**
|
* 创建时间
|
*/
|
@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)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
|
/**
|
* 创建人
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
/**
|
* 更新人
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
/**
|
* 租户ID
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
}
|