zqy
2024-11-19 f8b80fc0032e15e67e7a9ca4fe644e7147f90c70
zhang-content/src/main/java/com/ruoyi/domain/ZInfoUser.java
@@ -1,15 +1,14 @@
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;
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;
@@ -21,7 +20,6 @@
 */
@TableName("z_info_user")
@Data
@ToString
public class ZInfoUser implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -153,6 +151,18 @@
    @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;
    /**
     * 图片地址
@@ -167,12 +177,21 @@
    /**
     * 父亲的id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long fatherId;
    /**
     * 母亲的id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long momId;
    /**
     * 家族的id
     */
    private Integer clanId;
    /**
     * 出生年月日
@@ -182,6 +201,17 @@
    private Date birth;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 个人背景图片、视频
     */
    private String url;
@@ -189,13 +219,20 @@
    /**
     * 家庭id
     */
    private String familyId;
    private Long familyId;
    /**
     * 角色id
     */
    private Long roleId;
    /**
     * 其他家庭授权id
     */
    private String secondFamilyId;
    private Long sysId;
    /**
     * 代数
     */
@@ -203,11 +240,30 @@
    private Integer identity;
    /**
     * 配偶信息
     */
    @TableField(exist = false)
    private ZInfoUser spouse;
    /**
     * 子列表
     */
    @TableField(exist = false)
    List<ZInfoUser> childList;
    private List<ZInfoUser> childList;
    /**
     * 开始时间  生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(exist = false, jdbcType = JdbcType.TIMESTAMP)
    private Date happenStartTime;
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(exist = false, jdbcType = JdbcType.TIMESTAMP)
    private Date happenEndTime;