| | |
| | | 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 lombok.Data; |
| | | import lombok.ToString; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_marry") |
| | | @Data |
| | | @ToString |
| | | public class ZMarry implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 本人id |
| | | */ |
| | | private Integer userId; |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 配偶id |
| | | */ |
| | | private Integer spouseId; |
| | | private String spouseId; |
| | | |
| | | /** |
| | | * 结婚时间 |
| | | */ |
| | | private LocalDateTime marryDate; |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private Date marryTime; |
| | | |
| | | /** |
| | | * 生育情况,0:未生育、1:在孕、2:已生育 |
| | | */ |
| | | private Integer bearStatus; |
| | | |
| | | /** |
| | | * 是否领取计划生育服务手册 |
| | | */ |
| | | private Integer isJhsyfwsc; |
| | | private Integer handbookStatus; |
| | | |
| | | /** |
| | | * 领取计划生育服务手册时间 |
| | | */ |
| | | private LocalDateTime getJhsyfwscDate; |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private Date handbookTime; |
| | | |
| | | /** |
| | | * 是否领取独生子女证 |
| | | */ |
| | | private Integer isDsznz; |
| | | private Integer oneBorn; |
| | | |
| | | /** |
| | | * 领取独生子女证时间 |
| | | */ |
| | | private LocalDateTime getDsznzDate; |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private Date oneBornTime; |
| | | |
| | | /** |
| | | * 需声明的情况 |
| | | */ |
| | | private String content; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 记录是否被删除,有个查看过往史的功能 |
| | | */ |
| | | private Integer isDelete; |
| | | private Integer deleteStatus; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public Integer getSpouseId() { |
| | | return spouseId; |
| | | } |
| | | |
| | | public void setSpouseId(Integer spouseId) { |
| | | this.spouseId = spouseId; |
| | | } |
| | | |
| | | public LocalDateTime getMarryDate() { |
| | | return marryDate; |
| | | } |
| | | |
| | | public void setMarryDate(LocalDateTime marryDate) { |
| | | this.marryDate = marryDate; |
| | | } |
| | | |
| | | public Integer getBearStatus() { |
| | | return bearStatus; |
| | | } |
| | | |
| | | public void setBearStatus(Integer bearStatus) { |
| | | this.bearStatus = bearStatus; |
| | | } |
| | | |
| | | public Integer getIsJhsyfwsc() { |
| | | return isJhsyfwsc; |
| | | } |
| | | |
| | | public void setIsJhsyfwsc(Integer isJhsyfwsc) { |
| | | this.isJhsyfwsc = isJhsyfwsc; |
| | | } |
| | | |
| | | public LocalDateTime getGetJhsyfwscDate() { |
| | | return getJhsyfwscDate; |
| | | } |
| | | |
| | | public void setGetJhsyfwscDate(LocalDateTime getJhsyfwscDate) { |
| | | this.getJhsyfwscDate = getJhsyfwscDate; |
| | | } |
| | | |
| | | public Integer getIsDsznz() { |
| | | return isDsznz; |
| | | } |
| | | |
| | | public void setIsDsznz(Integer isDsznz) { |
| | | this.isDsznz = isDsznz; |
| | | } |
| | | |
| | | public LocalDateTime getGetDsznzDate() { |
| | | return getDsznzDate; |
| | | } |
| | | |
| | | public void setGetDsznzDate(LocalDateTime getDsznzDate) { |
| | | this.getDsznzDate = getDsznzDate; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | public Integer getIsDelete() { |
| | | return isDelete; |
| | | } |
| | | |
| | | public void setIsDelete(Integer isDelete) { |
| | | this.isDelete = isDelete; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZMarry{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", spouseId=" + spouseId + |
| | | ", marryDate=" + marryDate + |
| | | ", bearStatus=" + bearStatus + |
| | | ", isJhsyfwsc=" + isJhsyfwsc + |
| | | ", getJhsyfwscDate=" + getJhsyfwscDate + |
| | | ", isDsznz=" + isDsznz + |
| | | ", getDsznzDate=" + getDsznzDate + |
| | | ", content=" + content + |
| | | ", remark=" + remark + |
| | | ", isDelete=" + isDelete + |
| | | "}"; |
| | | } |
| | | } |