whywhyo
2023-09-05 3f50e9e810b478dbbd3225d9e5cedf47f586b69b
zhang-content/src/main/java/com/ruoyi/domain/MarryUser.java
@@ -1,9 +1,13 @@
package com.ruoyi.domain;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.converter.BearStatusConverter;
import lombok.Data;
import java.io.PipedReader;
@@ -21,17 +25,37 @@
public class MarryUser implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private Long myId;
    private Long id;
    @Excel(name = "姓名")
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "性别")
    private String sex;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "生日", dateFormat = "yyyy-MM-dd")
    private Date birthday;
    private String address;
    private String workAddress;
    private Integer marryStatus;
    private Integer sex;
    @Excel(name = "民族")
    private String nation;
    @Excel(name = "身份证")
    private String idNo;
    @Excel(name = "户籍地址")
    private String address;
    @Excel(name = "手机号码")
    private String phone;
    @Excel(name = "婚姻状况",readConverterExp = "0=未婚,1=初婚,2=离婚,3=再婚")
    private Integer marryStatus;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "结婚时间", dateFormat = "yyyy-MM-dd")
    private Date marryTime;
    private Long uid;
}