package com.panzhihua.service_community.model.dos; import com.baomidou.mybatisplus.annotation.*; import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * title: ComElderAuthElderliesDO 社区政务》高龄老人认证》高龄老人表实体类 * projectName 成都呐喊信息技术有限公司-智慧社区项目 * description: 社区政务》高龄老人认证》高龄老人表实体类 * * @author txb * @date 2021/9/01 14:12 */ @Data @TableName("com_elder_auth_elderlies") @EncryptDecryptClass public class ComElderAuthElderliesDO implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 人口id */ private Long populationId; /** * 街道id */ private Long streetId; /** * 社区id */ private Long communityId; /** * 联系电话 */ private String phone; /** * 姓名 */ private String name; /** * 身份证号 */ @EncryptDecryptField private String idCard; /** * 性别(1.男 2.女 3.其他) */ private Integer sex; /** * 年龄 */ private Integer age; /** * 出生日期 */ private String birthday; /** * 人员类别(1.80-89周岁 2.90-99周岁 3.100周岁(含)以上) */ private Integer personnelCategory; /** * 是否高龄老人登记(1.是 0.否) */ private Integer isRegister; /** * 是否健在(1.是 0.否) */ private Integer isAlive; /** * 居住地址 */ private String address; /** * 备注 */ private String remark; /** * 高龄津贴开始领取日期 */ private Date receiveAllowanceBegin; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private Date createAt; /** * 创建用户 */ private Long createBy; /** * 更新时间 */ @TableField(fill = FieldFill.UPDATE) private Date updateAt; /** * 修改用户 */ private Long updateBy; /** * 人员类别(1.80-89周岁 2.90-99周岁 3.100周岁(含)以上) */ public interface personnelCategory { int under90 = 1; int under100 = 2; int above100 = 3; } }