feige
2024-06-02 7185db025a772630265cfd1a0410743e6e37ed05
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
package com.ruoyi.domain.dto;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.converter.BearStatusConverter;
import com.ruoyi.domain.MarryUser;
import lombok.Data;
import org.apache.poi.ss.usermodel.IndexedColors;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
/**
 * @Author Jinquan_Ou
 * @Description
 * @Date 2023-04-23 14:04
 * @Version 1.0.0
 **/
@Data
public class MarryInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;
 
    //我个人的数据
    private Long id;
    //    @ExcelProperty({"个人数据","姓名"})
    @Excel(name = "个人姓名",headerBackgroundColor = IndexedColors.YELLOW)
    private String name;
 
    //    @ExcelProperty(value = {"个人信息","性别"})
    @Excel(name = "个人性别",headerBackgroundColor = IndexedColors.YELLOW)
    private String sex;
 
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    @ExcelProperty({"个人信息","生日"})
//    @DateTimeFormat("yyyy-MM-dd")
    @Excel(name = "个人生日", dateFormat = "yyyy-MM-dd",headerBackgroundColor = IndexedColors.YELLOW)
    private Date birthday;
 
    //    @ExcelProperty(value = {"个人信息","民族"})
    @Excel(name = "个人民族",headerBackgroundColor = IndexedColors.YELLOW)
    private String nation;
 
    @Excel(name = "个人身份证",headerBackgroundColor = IndexedColors.YELLOW)
    private String idNo;
 
    //    @ExcelProperty(value = {"个人信息","手机号码"})
    @Excel(name = "个人电话号码",headerBackgroundColor = IndexedColors.YELLOW)
    private String phone;
 
    //    @ExcelProperty(value = {"个人信息","婚姻状况"},converter = BearStatusConverter.class)
    @Excel(name = "个人婚姻状况", readConverterExp = "0=未婚,1=初婚,2=离婚,3=再婚",headerBackgroundColor = IndexedColors.YELLOW)
    private Integer marryStatus;
 
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "结婚时间", dateFormat = "yyyy-MM-dd",headerBackgroundColor = IndexedColors.YELLOW)
    private Date marryTime;
 
    //    @ExcelProperty({"个人信息","户籍地址"})
    @Excel(name = "个人户籍地址",headerBackgroundColor = IndexedColors.YELLOW)
    private String address;
 
 
    @Excel(name = "配偶姓名")
    private String spouseName;
 
    @Excel(name = "配偶性别")
    private String spouseSex;
 
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "配偶生日", dateFormat = "yyyy-MM-dd")
    private Date spouseBirthday;
 
    @Excel(name = "配偶民族")
    private String spouseNation;
 
    @Excel(name = "配偶身份证")
    private String spouseIdNo;
 
    @Excel(name = "配偶手机号码")
    private String spousePhone;
 
    @Excel(name = "配偶婚姻状况",readConverterExp = "0=未婚,1=初婚,2=离婚,3=再婚")
    private Integer spouseMarryStatus;
 
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "配偶结婚时间", dateFormat = "yyyy-MM-dd")
    private Date spouseMarryTime;
 
    @Excel(name = "配偶户籍地址")
    private String spouseAddress;
 
//    //配偶的数据
//    private Long spouseId;
//    //    @ExcelProperty(value = {"配偶信息","姓名"})
//    @Excel(name = "配偶姓名",headerBackgroundColor = IndexedColors.GREEN)
//    private String spouseName;
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//
//    //    @ExcelProperty(value = {"配偶信息","性别"})
//    @Excel(name = "配偶性别", readConverterExp = "0=女,1=男",headerBackgroundColor = IndexedColors.GREEN)
//    private Integer spouseSex;
//
////    @ExcelProperty(value = {"配偶信息","生日"})
////    @DateTimeFormat("yyyy-MM-dd")
//    @Excel(name = "配偶生日", dateFormat = "yyyy-MM-dd",headerBackgroundColor = IndexedColors.GREEN)
//    private Date spouseBirthday;
//
//    //    @ExcelProperty(value = {"配偶信息","民族"})
//    @Excel(name = "配偶民族",headerBackgroundColor = IndexedColors.GREEN)
//    private String spouseNation;
//
//    @Excel(name = "配偶身份证",headerBackgroundColor = IndexedColors.GREEN)
//    private String spouseIdNo;
//
//    //    @ExcelProperty(value = {"配偶信息","户籍地址"})
//    @Excel(name = "配偶户籍地址",headerBackgroundColor = IndexedColors.GREEN)
//    private String spouseAddress;
//
//    @Excel(name = "配偶手机号码",headerBackgroundColor = IndexedColors.GREEN)
//    private String spousePhone;
//
//    //    @ExcelProperty(value = {"配偶信息","工作地址"})
//
//    //    @ExcelProperty(value = {"配偶信息","婚姻状况"},converter = BearStatusConverter.class)
//    @Excel(name = "配偶婚姻状况", readConverterExp = "0=未婚,1=初婚,2=离婚,3=再婚",headerBackgroundColor = IndexedColors.GREEN)
//    private Integer spouseMarryStatus;
//
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    @Excel(name = "配偶结婚时间", dateFormat = "yyyy-MM-dd",headerBackgroundColor = IndexedColors.GREEN)
//    private Date spouseMarryTime;
 
 
    //生育情况
 
    /**
     * 生育情况,0:未生育、1:在孕、2:已生育
     */
    @Excel(name = "生育情况", readConverterExp = "0=未生育,1=在孕,2=已生育")
    private Integer bearStatus;
    @Excel(name = "是否领取计划生育服务手册", readConverterExp = "0=否,1=是")
    private Integer handbookStatus;
    @Excel(name = "领取计划生育服务手册时间", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date handbookTime;
    @Excel(name = "是否领取独生子女证", readConverterExp = "0=否,1=是")
    private Integer oneBorn;
    @Excel(name = "领取独生子女证时间", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date oneBornTime;
    @Excel(name = "需声明的情况")
    private String notion;
    @Excel(name = "备注")
    private String remark;
 
    /**
     * 前任信息的List
     */
    @Excel(name = "前任信息",headerBackgroundColor= IndexedColors.RED)
    private List<MarryUserDto> oldSpouseList;
 
}