package com.doumee.dao.business.model; 
 | 
  
 | 
import com.baomidou.mybatisplus.annotation.TableField; 
 | 
import com.doumee.core.annotation.excel.ExcelColumn; 
 | 
import com.doumee.service.business.third.model.LoginUserModel; 
 | 
import io.swagger.annotations.ApiModel; 
 | 
import io.swagger.annotations.ApiModelProperty; 
 | 
import com.baomidou.mybatisplus.annotation.IdType; 
 | 
import com.baomidou.mybatisplus.annotation.TableId; 
 | 
import com.baomidou.mybatisplus.annotation.TableName; 
 | 
import lombok.Data; 
 | 
  
 | 
import java.util.Date; 
 | 
  
 | 
/** 
 | 
 * 会议室开门记录表 
 | 
 * @author 江蹄蹄 
 | 
 * @date 2023/05/05 18:25 
 | 
 */ 
 | 
@Data 
 | 
@ApiModel("会议室开门记录表") 
 | 
@TableName("`meeting_room_record`") 
 | 
public class RoomRecord extends LoginUserModel { 
 | 
  
 | 
    @TableId(type = IdType.AUTO) 
 | 
    @ApiModelProperty(value = "主键", example = "1") 
 | 
    private Integer id; 
 | 
  
 | 
    @ApiModelProperty(value = "创建人编码", example = "1") 
 | 
    private Integer creator; 
 | 
  
 | 
    @ApiModelProperty(value = "创建时间") 
 | 
    @ExcelColumn(name="开门时间",dateFormat = "yyyy-MM-dd HH:mm:ss",index = 5,width =15) 
 | 
    private Date createDate; 
 | 
  
 | 
    @ApiModelProperty(value = "更新人编码", example = "1") 
 | 
    private Integer editor; 
 | 
  
 | 
    @ApiModelProperty(value = "更新时间") 
 | 
    private Date editDate; 
 | 
  
 | 
    @ApiModelProperty(value = "是否删除0否 1是", example = "1") 
 | 
    private Integer isdeleted; 
 | 
  
 | 
    @ApiModelProperty(value = "备注") 
 | 
    private String remark; 
 | 
  
 | 
    @ApiModelProperty(value = "人员编码(关联system_user表)", example = "1") 
 | 
    private Integer userId; 
 | 
  
 | 
    @ApiModelProperty(value = "关联对象编码(关联rooms或booking表)", example = "1") 
 | 
    private Integer objId; 
 | 
  
 | 
    @ApiModelProperty(value = "关联对象类型 0会议室管理员 1参会人员", example = "1") 
 | 
    @ExcelColumn(name="人员类型",index = 2,width =15,valueMapping = "0=会议室管理员;1=参会人员;2=外部人员") 
 | 
    private Integer objType; 
 | 
  
 | 
    @ApiModelProperty(value = "会议室编码(关联rooms表)") 
 | 
    private Integer roomId; 
 | 
  
 | 
    @ApiModelProperty(value = "房间名") 
 | 
    @ExcelColumn(name="房间名",index = 4,width =15) 
 | 
    @TableField(exist = false) 
 | 
    private String roomName; 
 | 
    @ApiModelProperty(value = "用户名") 
 | 
    @ExcelColumn(name="用户名",index = 1,width =15) 
 | 
    @TableField(exist = false) 
 | 
    private String userName; 
 | 
    @ApiModelProperty(value = "会议") 
 | 
    @ExcelColumn(name="会议",index = 3,width =15) 
 | 
    @TableField(exist = false) 
 | 
    private String meeting; 
 | 
  
 | 
  
 | 
    @ApiModelProperty(value = "开始时间") 
 | 
    @TableField(exist = false) 
 | 
    private Date startDate; 
 | 
    @ApiModelProperty(value = "截止时间") 
 | 
    @TableField(exist = false) 
 | 
    private Date endDate; 
 | 
  
 | 
  
 | 
} 
 |