package com.application.zhangshi_app_android.bean;
|
|
import java.util.List;
|
|
/**
|
* @author Ljj
|
* @date 2023.05.21. 22:43
|
* @desc 婚姻信息
|
*/
|
public class MarriageInfoBean {
|
//本人信息
|
//本人id
|
private String id;
|
//本人名字
|
private String name;
|
//本人出生日期
|
private String birthday;
|
//本人户籍地址
|
private String address;
|
//工作地址
|
private String workAddress;
|
//本人婚姻状态 0未婚 1初婚 2离婚 3再婚
|
private int marryStatus;
|
//本人性别 0女 1男
|
private int sex;
|
//本人民族
|
private String nation;
|
//本人电话号码
|
private String phone;
|
//本人身份证号码
|
private String idNo;
|
|
//配偶信息
|
//配偶id
|
private String spouseId;
|
//配偶名字
|
private String spouseName;
|
//配偶出生日期
|
private String spouseBirthday;
|
//配偶户籍地址
|
private String spouseAddress;
|
//配偶工作地址
|
private String spouseWorkAddress;
|
//配偶婚姻状态 0未婚 1初婚 2离婚 3再婚
|
private int spouseMarryStatus;
|
//配偶性别 0女 1男
|
private int spouseSex;
|
//配偶民族
|
private String spouseNation;
|
//配偶电话号码
|
private String spousePhone;
|
//配偶身份证号码
|
private String spouseIdNo;
|
|
//结婚信息
|
//结婚id
|
private int marryId;
|
//结婚时间
|
private String marryTime;
|
//生育情况 0未生育 1在孕 2已生育
|
private int bearStatus;
|
//是否领取计划生育服务手册 0未领取 1已领取
|
private int handbookStatus;
|
//领取计划生育服务手册时间
|
private String handbookTime;
|
//是否领取独生子女证 0未领取 1已领取
|
private int oneBorn;
|
//领取独生子女证时间
|
private String oneBornTime;
|
//需要声明的情况
|
private String content;
|
private String contentTime;
|
//备注
|
private String remark;
|
private String remarkTime;
|
|
private List<OldSpouseBean> oldSpouseList;
|
|
|
public String getAddress() { return address; }
|
public void setAddress(String value) { this.address = value; }
|
|
public String getBearStatus() {
|
if (bearStatus == 0) {
|
return "未生育";
|
} else if (bearStatus == 1) {
|
return "在孕";
|
} else if (bearStatus == 2) {
|
return "已生育";
|
} else {
|
return "未知";
|
}
|
}
|
|
public void setBearStatus(int bearStatus) {
|
this.bearStatus = bearStatus;
|
}
|
|
public String getBirthday() { return birthday; }
|
public void setBirthday(String value) { this.birthday = value; }
|
|
public String getContent() { return content; }
|
public void setContent(String value) { this.content = value; }
|
|
public String getHandbookStatus() {
|
return handbookStatus == 0 ? "否" : "是";
|
}
|
|
public void setHandbookStatus(int value) { this.handbookStatus = value; }
|
|
public String getHandbookTime() { return handbookTime; }
|
public void setHandbookTime(String value) { this.handbookTime = value; }
|
|
public String getid() { return id; }
|
public void setid(String value) { this.id = value; }
|
|
public int getMarryId() { return marryId; }
|
public void setMarryId(int value) { this.marryId = value; }
|
|
public String getMarryStatus() {
|
if (marryStatus == 0) {
|
return "未婚";
|
} else if (marryStatus == 1) {
|
return "初婚";
|
} else if (marryStatus == 2) {
|
return "离婚";
|
} else if (marryStatus == 3) {
|
return "再婚";
|
} else {
|
return "未知";
|
}
|
}
|
|
public void setMarryStatus(int marryStatus) {
|
this.marryStatus = marryStatus;
|
}
|
|
public String getMarryTime() { return marryTime; }
|
public void setMarryTime(String value) { this.marryTime = value; }
|
|
public String getName() { return name; }
|
public void setName(String value) { this.name = value; }
|
|
public String getNation() { return nation; }
|
public void setNation(String value) { this.nation = value; }
|
|
public String getIdNo() {
|
return idNo;
|
}
|
|
public void setIdNo(String idNo) {
|
this.idNo = idNo;
|
}
|
|
public String getSpouseIdNo() {
|
return spouseIdNo;
|
}
|
|
public void setSpouseIdNo(String spouseIdNo) {
|
this.spouseIdNo = spouseIdNo;
|
}
|
|
public String getContentTime() {
|
return contentTime;
|
}
|
|
public void setContentTime(String contentTime) {
|
this.contentTime = contentTime;
|
}
|
|
public String getRemarkTime() {
|
return remarkTime;
|
}
|
|
public void setRemarkTime(String remarkTime) {
|
this.remarkTime = remarkTime;
|
}
|
|
/**
|
* 前任的信息列表
|
*/
|
public List<OldSpouseBean> getOldSpouseList() { return oldSpouseList; }
|
public void setOldSpouseList(List<OldSpouseBean> value) { this.oldSpouseList = value; }
|
|
public String getOneBorn() {
|
return oneBorn == 0 ? "否" : "是";
|
}
|
public void setOneBorn(int value) { this.oneBorn = value; }
|
|
public String getOneBornTime() { return oneBornTime; }
|
public void setOneBornTime(String value) { this.oneBornTime = value; }
|
|
public String getPhone() { return phone; }
|
public void setPhone(String value) { this.phone = value; }
|
|
public String getRemark() { return remark; }
|
public void setRemark(String value) { this.remark = value; }
|
|
public String getSex() {
|
return sex == 0 ? "女" : "男";
|
}
|
public void setSex(String value) {
|
this.sex = value.equals("女") ? 0 : 1;
|
}
|
|
public String getSpouseAddress() { return spouseAddress; }
|
public void setSpouseAddress(String value) { this.spouseAddress = value; }
|
|
public String getSpouseBirthday() { return spouseBirthday; }
|
public void setSpouseBirthday(String value) { this.spouseBirthday = value; }
|
|
/**
|
* 现任信息
|
*/
|
public String getSpouseId() { return spouseId; }
|
public void setSpouseId(String value) { this.spouseId = value; }
|
|
|
public String getSpouseMarryStatus() {
|
if (spouseMarryStatus == 0) {
|
return "未婚";
|
} else if (spouseMarryStatus == 1) {
|
return "初婚";
|
} else if (spouseMarryStatus == 2) {
|
return "离婚";
|
} else if (spouseMarryStatus == 3) {
|
return "再婚";
|
} else {
|
return "未知";
|
}
|
}
|
|
public void setSpouseMarryStatus(int spouseMarryStatus) {
|
this.spouseMarryStatus = spouseMarryStatus;
|
}
|
|
public String getSpouseName() { return spouseName; }
|
public void setSpouseName(String value) { this.spouseName = value; }
|
|
public String getSpouseNation() { return spouseNation; }
|
public void setSpouseNation(String value) { this.spouseNation = value; }
|
|
public String getSpousePhone() { return spousePhone; }
|
public void setSpousePhone(String value) { this.spousePhone = value; }
|
|
public int getSpouseSex() { return spouseSex; }
|
public void setSpouseSex(int value) { this.spouseSex = value; }
|
|
public String getSpouseWorkAddress() { return spouseWorkAddress; }
|
public void setSpouseWorkAddress(String value) { this.spouseWorkAddress = value; }
|
|
public String getWorkAddress() { return workAddress; }
|
public void setWorkAddress(String value) { this.workAddress = value; }
|
|
public static class OldSpouseBean {
|
private String id;
|
private String name;
|
private String address;
|
private String birthday;
|
private int marryStatus;
|
private Object myId;
|
private String nation;
|
private String phone;
|
private int sex;
|
private String workAddress;
|
|
public String getAddress() { return address; }
|
public void setAddress(String value) { this.address = value; }
|
|
public String getBirthday() { return birthday; }
|
public void setBirthday(String value) { this.birthday = value; }
|
|
public String getid() { return id; }
|
public void setid(String value) { this.id = value; }
|
|
public String getMarryStatus() {
|
if (marryStatus == 0) {
|
return "未婚";
|
} else if (marryStatus == 1) {
|
return "初婚";
|
} else if (marryStatus == 2) {
|
return "离婚";
|
} else if (marryStatus == 3) {
|
return "再婚";
|
} else {
|
return "未知";
|
}
|
}
|
public void setMarryStatus(int value) { this.marryStatus = value; }
|
|
public Object getMyId() { return myId; }
|
public void setMyId(Object value) { this.myId = value; }
|
|
public String getName() { return name; }
|
public void setName(String value) { this.name = value; }
|
|
public String getNation() { return nation; }
|
public void setNation(String value) { this.nation = value; }
|
|
public String getPhone() { return phone; }
|
public void setPhone(String value) { this.phone = value; }
|
|
public int getSex() { return sex; }
|
public void setSex(int value) { this.sex = value; }
|
|
public String getWorkAddress() { return workAddress; }
|
public void setWorkAddress(String value) { this.workAddress = value; }
|
}
|
}
|