Jinquan_Ou
2023-04-23 3cfa0bda6574d0c39db120c457e98a168aa193e8
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
package com.ruoyi.domain.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.domain.MarryUser;
import lombok.Data;
 
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 String id;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;
    private String address;
    private String workAddress;
    private Integer marryStatus;
    private Integer sex;
    private String nation;
    private String phone;
 
    //配偶的数据
    private String spouseId;
    private String spouseName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date spouseBirthday;
    private String spouseAddress;
    private String spouseWorkAddress;
    private Integer spouseMarryStatus;
    private Integer spouseSex;
    private String spouseNation;
    private String spousePhone;
 
 
 
    //生育情况(中间表)
    private Long marryId;
    /**
     * 结婚时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date marryTime;
 
    /**
     * 生育情况,0:未生育、1:在孕、2:已生育
     */
    private Integer bearStatus;
    private Integer handbookStatus;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date handbookTime;
    private Integer oneBorn;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date oneBornTime;
    private String content;
    private String remark;
 
    /**
     * 前任信息的List
     */
    private List<MarryUser> oldSpouseList;
 
}