feige
2024-11-05 72f21494ba48e573e68007eab2296f8c25ecc4b7
zhang-content/src/main/java/com/ruoyi/domain/ZInfoUser.java
@@ -1,9 +1,6 @@
package com.ruoyi.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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;
@@ -21,7 +18,6 @@
 */
@TableName("z_info_user")
@Data
@ToString
public class ZInfoUser implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -131,20 +127,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
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long fatherId;
    /**
     * 母亲的id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long momId;
    /**
     * 家族的id
     */
    private Integer clanId;
    /**
     * 出生年月日
@@ -154,6 +199,17 @@
    private Date birth;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 个人背景图片、视频
     */
    private String url;
@@ -161,18 +217,38 @@
    /**
     * 家庭id
     */
    private String familyId;
    private Long familyId;
    /**
     * 角色id
     */
    private Long roleId;
    /**
     * 其他家庭授权id
     */
    private String secondFamilyId;
    private Long sysId;
    /**
     * 代数
     */
    @TableField(exist = false)
    private Integer identity;
    /**
     * 配偶信息
     */
    @TableField(exist = false)
    private ZInfoUser spouse;
    /**
     * 子列表
     */
    @TableField(exist = false)
    List<ZInfoUser> childList;
    private List<ZInfoUser> childList;
}