feige
2025-06-23 8d0db2a5b91a38960855ab3f5ee3e92fe363e8e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package com.ruoyi.domain.dto;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * @Author Jinquan_Ou
 * @Description 家谱
 * @Date 2023-05-19 17:55
 * @Version 1.0.0
 **/
@Data
public class Genealogy implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    private Long userId;
 
 
    private Integer clanId;
    @Excel(name = "第几代")
    private Integer identity;
 
    @Excel(name="姓名")
    private String nickName;
 
    @Excel(name="性别",readConverterExp = "0=女,1=男")
    private Integer sex;
 
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生时间", dateFormat = "yyyy-MM-dd")
    private Date birth;
 
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "全生命周期", dateFormat = "yyyy-MM-dd")
    private Date deadDay;
 
    @Excel(name="电话号码")
    private String phoneNumber;
 
    @Excel(name="所在单位/学校")
    private String unit;
 
    @Excel(name = "配偶")
    private String spouseName;
 
    @Excel(name = "是否是本家庭成员",readConverterExp = "0=否,1=是")
    private Integer isMyFamily;
 
 
    private Genealogy spouse;
 
 
 
}