mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
package com.panzhihua.service_community.model.dos;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
 
/**
 * @auther lyq
 * @create 2021-08-23 10:33:53
 * @describe 预约登记记录表实体类
 */
 
@Data
@TableName("com_act_reserve_record")
public class ComActReserveRecordDO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 用户id
     */
    private Long userId;
 
    /**
     * 预约登记id
     */
    private Long reserveId;
 
    /**
     * 社区id
     */
    private Long communityId;
 
    /**
     * 类型(1.预约 2.登记)
     */
    private Integer type;
 
    /**
     * 提交人名称
     */
    private String name;
 
    /**
     * 提交人手机号
     */
    private String phone;
 
    /**
     * 状态(1.待处理 2.预约成功 3.预约失败 4.已取消)
     */
    private Integer status;
 
    /**
     * 内容
     */
    private String content;
 
    /**
     * 备注
     */
    private String remark;
 
    /**
     * 社区备注
     */
    private String actRemark;
 
    /**
     * 预约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date reserveTime;
 
    /**
     * 用户填报json数据
     */
    private String jsonObject;
 
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createAt;
 
    /**
     * 创建人
     */
    private Long createBy;
 
    /**
     * 修改时间
     */
    private Date updateAt;
 
    /**
     * 修改人
     */
    private Long updateBy;
 
    /**
     * 处理人id
     */
    private Long handleId;
 
    @Override
    public String toString() {
        return "ComActReserveRecordDO{" +
                "id=" + id +
                ", userId=" + userId +
                ", reserveId=" + reserveId +
                ", communityId=" + communityId +
                ", type=" + type +
                ", name=" + name +
                ", phone=" + phone +
                ", status=" + status +
                ", content=" + content +
                ", remark=" + remark +
                ", actRemark=" + actRemark +
                ", reserveTime=" + reserveTime +
                ", jsonObject=" + jsonObject +
                ", createAt=" + createAt +
                ", createBy=" + createBy +
                ", updateAt=" + updateAt +
                ", updateBy=" + updateBy +
                "}";
    }
 
    /**
     * 状态(1.待处理 2.预约成功 3.预约失败 4.已取消)
     */
    public interface status{
        int dcl = 1;
        int cg = 2;
        int sb = 3;
        int yqx = 4;
    }
    /**
     * 类型(1.预约 2.登记)
     */
    public interface type{
        int yy=1;
        int dj=2;
    }
}