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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
package com.panzhihua.service_community.model.dos;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
 
import lombok.Data;
 
@Data
@TableName(value = "com_mng_population")
@EncryptDecryptClass
public class ComMngPopulationDO implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 自增 id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 街道id
     */
    private Long streetId;
    /**
     * 社区id
     */
    private Long actId;
    /**
     * 小区id(实有房屋id)
     */
    private Long villageId;
    /**
     * 家庭成员(姓名)
     */
    private String name;
    /**
     * 性别(1.男 2.女 3.未知)
     */
    private Integer sex;
    /**
     * 年龄
     */
    // private Integer age;
 
    /**
     * 证件类型
     */
    private String certificateType;
    /**
     * 身份证号码
     */
    @EncryptDecryptField
    private String cardNo;
 
    /**
     * 临时用
     */
    private String cardNoStr;
 
    /**
     * 默认为身份证到期时间,可以是其他证件到期时间
     */
    private Date cardNoExpirationDate;
 
    /**
     * 街路巷
     */
    private String road;
    /**
     * 门牌号
     */
    private String doorNo;
    /**
     * 楼排号
     */
    private String floor;
    /**
     * 单元号
     */
    private String unitNo;
    /**
     * 户室(房间号)
     */
    private String houseNo;
    /**
     * 政治面貌(1.中共党员2.中共预备党员3.共青团员4.民革党员5.民盟盟员6.民建会员7.8.农工党党员9.致公党党员10.九三学社社员11.台盟盟员12.无党派人士13.群众)
     */
    private Integer politicalOutlook;
    /**
     * 工作单位/学校
     */
    private String workCompany;
    /**
     * 特殊情况
     */
    private String specialSituation;
    /**
     * 联系方式
     */
    @EncryptDecryptField
    private String phone;
    /**
     * 外地or本地(1.本地 2.外地)
     */
    private Integer outOrLocal;
    /**
     * 户口所在地
     */
    private String censusRegister;
 
    /**
     * 人员类型(1、户籍人口2、留守人员3、外地人员4、境外人员5、流动人口6、常住人口7、暂住人口)
     */
    private String personType;
 
    /**
     * 国家code(取字典表国家标准编码)
     */
    private String country;
 
    /**
     * 离开日期(境外人员填写)
     */
    private Date dateOfDeparture;
 
    /**
     * 籍贯
     */
    private String nativePlace;
 
    /**
     * 民族code,从字典表取国家标准码
     */
    private String nationCode;
 
    /**
     * 民族
     */
    private String nation;
 
    /**
     * 是否租住(0.否 1.是)
     */
    private Integer isRent;
 
    /**
     * 文化程度(1.小学 2.初中 3.高中 4.中专 5.大专 6.本科 7.硕士 8.博士 9.其他)
     */
    private Integer cultureLevel;
 
    /**
     * 婚姻状况(1.未婚 2.已婚 3.离异 4.丧偶 5.分居 6.其他)
     */
    private Integer marriage;
 
    /**
     * 健康状况
     */
    private String healthy;
 
    /**
     * 血型
     */
    private String bloodType;
 
    /**
     * 宗教信仰
     */
    private String religion;
 
    /**
     * 职业
     */
    private String profession;
 
    /**
     * 人员状态:正常、失联、出国(取字典表)
     */
    private String personStatus;
 
    /**
     * 是否死亡 1是 、0否
     */
    private String death;
 
    /**
     * 头像图片地址
     */
    private String headPortrait;
 
    /**
     * 月收入情况
     */
    private String monthlyIncome;
 
    /**
     * 家庭情况(取字典表国家标准编码)
     */
    private String familyStatus;
 
    /**
     * 来华目的(境外人员填写)
     */
    private String goalInChina;
 
    /**
     * 出生年月日
     */
    private String birthday;
 
    /**
     * 抵达日期(境外人员填写)
     */
    private Date dateOfArrival;
 
    /**
     * 标签集合(多个标签以,隔开)
     */
    @TableField(fill = FieldFill.UPDATE,updateStrategy = FieldStrategy.IGNORED)
    private String label;
 
    /**
     * 证件照(人面像)照片
     */
    private String cardPhotoFront;
 
    /**
     * 证件照(国徽面)照片
     */
    private String cardPhotoBack;
 
    /**
     * 户口本照片
     */
    private String familyBook;
 
    /**
     * 删除标识
     */
    private Integer deleteFlag;
 
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 创建用戶
     */
    private Long createBy;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateAt;
 
    /**
     * 修改用戶
     */
    private Long updateBy;
 
    /**
     * 小区名字
     */
    @TableField(exist = false)
    private String villageName;
 
    /**
     * 与户主关系(1.户主 2.配偶 3.子女 4.孙女 5.父母 6.其他)
     */
    // private Integer relation;
    //
    // private String relationStr;
 
    /**
     * 是否居住地
     */
    private String residence;
 
    /**
     * 居住地址
     */
    private String address;
 
    /**
     * 居住地房屋id
     */
    private Long houseId;
 
    /**
     * 性别(1.男 2.女 3.未知)
     */
    public interface sex {
        int nan = 1;
        int nv = 2;
        int no = 3;
    }
 
    /**
     * 是否租住
     */
    public interface isOk {
        int yes = 1;
        int no = 0;
    }
 
    /**
     * 政治面貌
     */
    public interface politicalOutlook {
        int dang = 1;
        int tuan = 3;
        int wu = 12;
        int qun = 13;
        int no = 13;
    }
 
    /**
     * 外地or本地(1.本地 2.外地)
     */
    public interface outOrLocal {
        int bd = 1;
        int wd = 2;
    }
 
}