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; /** * @title: ComPensionAuthPensionerDO 养老金人员表实体类 * @projectName: 成都呐喊信息技术有限公司-智慧社区项目 * @description: 养老金人员表实体类 * @author: hans * @date: 2021/09/01 16:30 */ @Data @TableName("com_pension_auth_pensioners") @EncryptDecryptClass public class ComPensionAuthPensionerDO 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; /** * 性别 */ 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; /** * 创建时间 */ private Date createAt; /** * 创建用户 */ private Long createBy; /** * 更新时间 */ private Date updateAt; /** * 修改用户 */ private Long updateBy; /** * 是否枚举(1.是 0.否) */ public interface isOk{ int yes = 1; int no = 0; } @Override public String toString() { return "ComPensionAuthPensionerDO{" + "id=" + id + ", populationId=" + populationId + ", streetId=" + streetId + ", communityId=" + communityId + ", phone='" + phone + '\'' + ", name='" + name + '\'' + ", idCard='" + idCard + '\'' + ", sex='" + sex + '\'' + ", age=" + age + ", birthday='" + birthday + '\'' + ", personnelCategory=" + personnelCategory + ", isRegister=" + isRegister + ", isAlive=" + isAlive + ", address='" + address + '\'' + ", remark='" + remark + '\'' + ", receiveAllowanceBegin=" + receiveAllowanceBegin + ", createAt=" + createAt + ", createBy=" + createBy + ", updateAt=" + updateAt + ", updateBy=" + updateBy + '}'; } }