zqy
5 天以前 b02beccf4567068cb47a3f1181a00039456c872d
zhang-content/src/main/java/com/ruoyi/domain/ZInfoUser.java
@@ -1,16 +1,17 @@
package com.ruoyi.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.ToString;
import org.apache.ibatis.type.JdbcType;
import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
/**
 * @Version 1.0
@@ -19,7 +20,6 @@
 */
@TableName("z_info_user")
@Data
@ToString
public class ZInfoUser implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -129,20 +129,69 @@
    @Excel(name = "外籍、境外相关证件号码")
    private String idNo;
    /**
     * 全生命周期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "全生命周期", dateFormat = "yyyy-MM-dd")
    private Date deadDay;
    @Excel(name = "星座")
    private String constellation;
    @Excel(name = "微信号")
    private String wxNo;
    @Excel(name = "qq号")
    private String qqNo;
    @Excel(name = "生肖")
    private String shengXiao;
    @Excel(name = "是否是本家庭成员",readConverterExp = "0=否,1=是")
    private Integer isMyFamily;
    /**
     * 自我介绍
     */
    @Excel(name = "自我介绍")
    private String selfIntroduction;
    @TableField(exist = false)
    private String familyName;
    @TableField(exist = false)
    private String roleName;
    /**
     * 图片地址
     */
    private String img;
    /**
     * 配偶id
     */
    private Long spouseId;
    /**
     * 父亲的id
     */
    private Integer fatherId;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long fatherId;
    /**
     * 母亲的id
     */
    private Integer momId;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long momId;
    /**
     * 家族的id
     */
    private Integer clanId;
    /**
     * 出生年月日
@@ -152,6 +201,17 @@
    private Date birth;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 个人背景图片、视频
     */
    private String url;
@@ -159,12 +219,39 @@
    /**
     * 家庭id
     */
    private String familyId;
    private Long familyId;
    /**
     * 角色id
     */
    private Long roleId;
    /**
     * 其他家庭授权id
     */
    private String secondFamilyId;
    /**
     * 判断唯一的用户编码
     */
    private String uaid;
    private Long sysId;
    /**
     * 代数
     */
    @TableField(exist = false)
    private Integer identity;
    /**
     * 配偶信息
     */
    @TableField(exist = false)
    private ZInfoUser spouse;
    /**
     * 子列表
     */
    @TableField(exist = false)
    private List<ZInfoUser> childList;
}