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 household_info
 */
@TableName(value ="household_info")
@Data
public class HouseholdInfo implements Serializable {
    /**
     * 户籍ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 户籍编号
     */
    private String householdCode;

    /**
     * 户主id
     */
    private Integer householdHeadId;

    /**
     * 户籍类型: 1-农业户口, 2-非农业户口
     */
    private Integer householdType;

    /**
     * 户籍地址
     */
    private String householdAddress;

    /**
     * 归属地区
     */
    private String belongingArea;

    /**
     * 房屋编号
     */
    private String houseCode;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 删除标志
     */
    @TableLogic
    @JsonIgnore
    private String delFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}