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
package com.panzhihua.service_community.model.dos;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
 
import lombok.Data;
 
/**
 * 用户绑定老人关系实体类
 *
 * @author cedoo email:cedoo(a)qq.com
 * @version 1.0
 * @since 1.0
 * @date 2021-06-09
 */
@Data
@TableName("com_elders_auth_user")
@EncryptDecryptClass
public class ComEldersAuthUserDO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id 列: id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 用户id 列: user_id
     */
    private Long userId;
    /**
     * 与本人关系(1.父母 2.配偶 3.子女 4.兄弟姐妹 5.祖/外祖父母 6.本人 7.其他) 列: relation
     */
    private Integer relation;
    /**
     * 是否已认证(1.是 2.否) 列: is_auth
     */
    private Integer isAuth;
    /**
     * 姓名 列: name
     */
    private String name;
    /**
     * 身份证号码 列: id_card
     */
    @EncryptDecryptField
    private String idCard;
    /**
     * 社区id 列: community_id
     */
    private Long communityId;
    /**
     * 高龄老人库id 列: big_age_id
     */
    private Long bigAgeId;
    /**
     * 创建时间 列:create_at
     */
    private Date createAt;
 
    /**
     * 是否已认证(1.是 2.否)
     */
    public interface isAuth {
        int yes = 1;
        int no = 2;
    }
 
    /**
     * 与本人关系(1.父母 2.配偶 3.子女 4.兄弟姐妹 5.祖/外祖父母 6.本人 7.其他)
     */
    public interface relation {
        int fm = 1;
        int po = 2;
        int zn = 3;
        int xdjm = 4;
        int zf = 5;
        int br = 6;
        int qt = 7;
    }
 
}