zqy
5 天以前 b02beccf4567068cb47a3f1181a00039456c872d
zhang-content/src/main/java/com/ruoyi/domain/dto/MarryInfoDto.java
@@ -24,71 +24,118 @@
    private static final long serialVersionUID = 1L;
    //我个人的数据
    private String id;
    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({"个人信息","户籍地址"})
    @Excel(name = "个人户籍地址",headerBackgroundColor = IndexedColors.YELLOW)
    private String address;
    //    @ExcelProperty({"个人信息","工作地址"})
    @Excel(name = "个人身份证",headerBackgroundColor = IndexedColors.YELLOW)
    private String idNo;
    //    @ExcelProperty(value = {"个人信息","婚姻状况"},converter = BearStatusConverter.class)
    @Excel(name = "个人婚姻状况", readConverterExp = "0=未婚,1=初婚,2=离婚,3=再婚",headerBackgroundColor = IndexedColors.YELLOW)
    private Integer marryStatus;
    //    @ExcelProperty(value = {"个人信息","性别"})
    @Excel(name = "个人性别", readConverterExp = "0=女,1=男",headerBackgroundColor = IndexedColors.YELLOW)
    private Integer sex;
    //    @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;
    //配偶的数据
    private String spouseId;
    //    @ExcelProperty(value = {"配偶信息","姓名"})
    @Excel(name = "配偶姓名",headerBackgroundColor = IndexedColors.GREEN)
    private String spouseName;
    //    @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")
//    @ExcelProperty(value = {"配偶信息","生日"})
//    @DateTimeFormat("yyyy-MM-dd")
    @Excel(name = "配偶生日", dateFormat = "yyyy-MM-dd",headerBackgroundColor = IndexedColors.GREEN)
    @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;
    //    @ExcelProperty(value = {"配偶信息","户籍地址"})
    @Excel(name = "配偶户籍地址",headerBackgroundColor = IndexedColors.GREEN)
    private String spouseAddress;
    //    @ExcelProperty(value = {"配偶信息","工作地址"})
    @Excel(name = "配偶身份证",headerBackgroundColor = IndexedColors.GREEN)
    private String spouseIdNo;
    //    @ExcelProperty(value = {"配偶信息","婚姻状况"},converter = BearStatusConverter.class)
    @Excel(name = "配偶婚姻状况", readConverterExp = "0=未婚,1=初婚,2=离婚,3=再婚",headerBackgroundColor = IndexedColors.GREEN)
    private Integer spouseMarryStatus;
    //    @ExcelProperty(value = {"配偶信息","性别"})
    @Excel(name = "配偶性别", readConverterExp = "0=女,1=男",headerBackgroundColor = IndexedColors.GREEN)
    private Integer spouseSex;
    //    @ExcelProperty(value = {"配偶信息","民族"})
    @Excel(name = "配偶民族",headerBackgroundColor = IndexedColors.GREEN)
    @Excel(name = "配偶民族")
    private String spouseNation;
    @Excel(name = "配偶手机号码",headerBackgroundColor = IndexedColors.GREEN)
    @Excel(name = "配偶身份证")
    private String spouseIdNo;
    @Excel(name = "配偶手机号码")
    private String spousePhone;
    @Excel(name = "配偶婚姻状况",readConverterExp = "0=未婚,1=初婚,2=离婚,3=再婚")
    private Integer spouseMarryStatus;
    //生育情况(中间表)
    private Long marryId;
    /**
     * 结婚时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "结婚时间", dateFormat = "yyyy-MM-dd")
    private Date marryTime;
    @Excel(name = "配偶结婚时间", dateFormat = "yyyy-MM-dd")
    private Date spouseMarryTime;
    @Excel(name = "配偶户籍地址")
    private String spouseAddress;
    private Long uid;
//    //配偶的数据
//    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:已生育
@@ -106,7 +153,7 @@
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date oneBornTime;
    @Excel(name = "需声明的情况")
    private String content;
    private String notion;
    @Excel(name = "备注")
    private String remark;
@@ -114,6 +161,6 @@
     * 前任信息的List
     */
    @Excel(name = "前任信息",headerBackgroundColor= IndexedColors.RED)
    private List<MarryUser> oldSpouseList;
    private List<MarryUserDto> oldSpouseList;
}