zqy
2024-10-22 ca054d1db9256bc8d367486b0d78e89cd4fd7fdb
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;
@@ -139,6 +135,27 @@
    @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;
    @TableField(exist = false)
    private String familyName;
    @TableField(exist = false)
    private String roleName;
    /**
     * 图片地址
     */
@@ -152,12 +169,21 @@
    /**
     * 父亲的id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long fatherId;
    /**
     * 母亲的id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long momId;
    /**
     * 家族的id
     */
    private Integer clanId;
    /**
     * 出生年月日
@@ -167,6 +193,17 @@
    private Date birth;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 个人背景图片、视频
     */
    private String url;
@@ -174,7 +211,12 @@
    /**
     * 家庭id
     */
    private String familyId;
    private Long familyId;
    /**
     * 角色id
     */
    private Long roleId;
    /**
     * 其他家庭授权id
@@ -182,10 +224,28 @@
    private String secondFamilyId;
    /**
     * 自我介绍
     */
    private String selfIntroduction;
    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;
}