maven
5 天以前 2ed03e83ce1e513632a188de78190e79a85636b9
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
package com.ruoyi.collaborativeApproval.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * 会议申请表
 * @TableName meet_application
 */
@TableName(value ="meet_application")
@Data
public class MeetApplication implements Serializable {
    /**
     * 申请ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 会议主题
     */
    @TableField(value = "title")
    private String title;
 
    /**
     * 会议室ID
     */
    @TableField(value = "room_id")
    private Long roomId;
 
    /**
     * 主持人
     */
    @TableField(value = "host")
    private String host;
 
    /**
     * 会议日期
     */
    @TableField(value = "meeting_date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate meetingDate;
 
    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
 
    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
 
    /**
     * 参会人员(JSON格式存储ID数组)
     */
    @TableField(value = "participants")
    private String participants;
 
    /**
     * 会议说明
     */
    @TableField(value = "description")
    private String description;
 
    /**
     * 申请类型(approval:审批流程, department:部门级, notification:通知发布)
     */
    @TableField(value = "application_type")
    private String applicationType;
 
    /**
     * 状态(0:待审批, 1:已通过, 2:已拒绝, 3:已取消)
     */
    @TableField(value = "status")
    private Integer status;
 
    /**
     * 申请人
     */
    @TableField(value = "applicant")
    private String applicant;
 
 
    /**
     * 创建者
     */
    @TableField(value = "create_user" ,fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    /**
     * 更新者
     */
    @TableField(value = "update_user",fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    /**
     * 租户ID
     */
    @TableField(value = "tenant_id",fill = FieldFill.INSERT)
    private Long tenantId;
 
    @TableField(value = "publish_status")
    private Integer publishStatus;
 
    @TableField(value = "publish_comment")
    private String publishComment;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}