MeetingUser.java 1.6 KB
package com.skua.modules.meeting.entity;

import java.io.Serializable;
import java.util.Date;

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 com.skua.core.aspect.annotation.Dict;
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.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 会议室用户关联表
 */
@Data
@TableName("meeting_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "meeting_user对象", description = "会议室用户关联表")
public class MeetingUser {

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 会议室id
     */
    @Excel(name = "会议室id", width = 15)
    @ApiModelProperty(value = "会议室id")
    private String meetingRoomId;
    /**
     * 用户id
     */
    @Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    @Dict(dicCode = "id", dicText = "realname", dictTable = "sys_user")
    private String userId;
    /**
     * 会议接受状态
     */
    @Excel(name = "会议接受状态 ", width = 15)
    @ApiModelProperty(value = "会议接受状态 ")
    private String acceptStatus;
    @TableField(exist = false)
    private String realname;
}