package com.ruoyi.web.domain.entity; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * 人员信息表 * * @TableName person_info */ @TableName(value = "person_info") @Data public class PersonInfo implements Serializable { /** * ID */ @TableId() private Integer id; /** * 用户ID(关联SysUser表) */ private Integer userId; /** * 姓名 */ private String realname; /** * 身份证号 */ private String idCard; /** * 民族(0汉族、1壮族、2苗族、3回族、4满族) */ private String ethnic; /** * 年龄 */ private Integer age; /** * 性别: 1-男, 2-女, 0-未知 */ private Integer gender; /** * 出生日期 */ private Date birthDate; /** * 人口类别:0-本村户籍 ,1-非本村户籍 */ private Integer populationCategory; /** * 电话 */ private String phone; /** * 人口标签(标签 json 列表) */ private String populationTags; /** * 职业 */ private String occupation; /** * 所属网格 */ private String grid; /** * 文化程度 (0文盲半文盲,1小学,2初中,3高中,4中等职业教育,5专科教育,6大学本科,7硕士,8博士,9其他) */ private String educationLevel; /** * 婚姻状况: 1-未婚, 2-已婚, 3-丧偶, 4-离婚 * 0未婚,1已婚,2丧偶,3离婚 */ private Integer maritalStatus; /** * 政治面貌 (0群众,1共青团员,2中共党员,3预备党员,4其它 */ private String politicalStatus; /** * 宗教信仰 (0无,1佛教,2基督教,3伊斯兰教,4其他) */ private String religion; /** * 照片URL */ private String photoUrl; /** * 所属户籍ID */ private Integer householdId; /** * 户籍关系 */ private String householdRelation; /** * 特殊身份 */ private String specialIdentity; /** * 创建时间 */ private Date createTime; /** * 创建人 */ private String createBy; /** * 修改时间 */ private Date updateTime; /** * 修改人 */ private String updateBy; private int userType; /** * 删除标志 */ @TableLogic @JsonIgnore private String delFlag; @TableField(exist = false) private static final long serialVersionUID = 1L; }