jiangping
2024-05-10 dab5db84055a7f6a8fea3b61099d85d34ea7a706
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package com.doumee.dao.business.model;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.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 io.swagger.models.auth.In;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
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;
 
 
}