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;
|
}
|
|
}
|