package com.application.zhangshi_app_android.bean; import java.util.ArrayList; import java.util.List; /** * @author Ljj * @date 2023.07.11. 20:18 * @desc 家根网 成员Bean */ public class HomeRootBean { // id int userId; // 姓名 String nickName; // 曾用名 String oldName; // 性别 1男 0女 int sex; // 国家 String nationality; // 民族 String nation; // 婚姻状况 1已婚 0未婚 2离婚 int maritalStatus; // 政治面貌 String politicalOutlook; // 电话 String phoneNumber; // 身份证号 String idNum; // 户籍地址 String locationAddress; // 常住地址 String alwaysAddress; // 户籍地址公安机关 String locationPolice; // 常住地址公安机关 String alwaysPolice; // 单位 String unit; // 职务 String position; // 0、1 String outStatus; String idNo; // 去世日期 String deadDay; // 星座 String constellation; // 微信号 String wxNo; // QQ号 String qqNo; // 生肖 String shengXiao; // 头像img String img; // 配偶id int spouseId; // 配偶信息 HomeRootBean spouse; // 父亲id int fatherId; // 母亲id int momId; // 生日 String birth; // 电子文件 String url; // 家庭id String familyId; // 第二家庭id String secondFamilyId; //身份代数 int identity; // 子代列表 List childList; public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getNickName() { return nickName; } public void setNickName(String nickName) { this.nickName = nickName; } public String getOldName() { return oldName; } public void setOldName(String oldName) { this.oldName = oldName; } public int getSex() { return sex; } public void setSex(int sex) { this.sex = sex; } public String getNationality() { return nationality; } public void setNationality(String nationality) { this.nationality = nationality; } public String getNation() { return nation; } public void setNation(String nation) { this.nation = nation; } public int getMaritalStatus() { return maritalStatus; } public String getMaritalStatusStr() { if (maritalStatus == 0) { return "未婚"; } else if (maritalStatus == 1) { return "已婚"; } else if (maritalStatus == 2) { return "离婚"; } else { return ""; } } public void setMaritalStatus(int maritalStatus) { this.maritalStatus = maritalStatus; } public String getPoliticalOutlook() { return politicalOutlook; } public void setPoliticalOutlook(String politicalOutlook) { this.politicalOutlook = politicalOutlook; } public String getPhoneNumber() { return phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getIdNum() { return idNum; } public void setIdNum(String idNum) { this.idNum = idNum; } public String getLocationAddress() { return locationAddress; } public void setLocationAddress(String locationAddress) { this.locationAddress = locationAddress; } public String getAlwaysAddress() { return alwaysAddress; } public void setAlwaysAddress(String alwaysAddress) { this.alwaysAddress = alwaysAddress; } public String getLocationPolice() { return locationPolice; } public void setLocationPolice(String locationPolice) { this.locationPolice = locationPolice; } public String getAlwaysPolice() { return alwaysPolice; } public void setAlwaysPolice(String alwaysPolice) { this.alwaysPolice = alwaysPolice; } public String getUnit() { return unit; } public void setUnit(String unit) { this.unit = unit; } public String getPosition() { return position; } public void setPosition(String position) { this.position = position; } public String getOutStatus() { return outStatus; } public void setOutStatus(String outStatus) { this.outStatus = outStatus; } public String getIdNo() { return idNo; } public void setIdNo(String idNo) { this.idNo = idNo; } public String getDeadDay() { return deadDay; } public void setDeadDay(String deadDay) { this.deadDay = deadDay; } public String getConstellation() { return constellation; } public void setConstellation(String constellation) { this.constellation = constellation; } public String getWxNo() { return wxNo; } public void setWxNo(String wxNo) { this.wxNo = wxNo; } public String getQqNo() { return qqNo; } public void setQqNo(String qqNo) { this.qqNo = qqNo; } public String getShengXiao() { return shengXiao; } public void setShengXiao(String shengXiao) { this.shengXiao = shengXiao; } public String getImg() { return img; } public void setImg(String img) { this.img = img; } public int getSpouseId() { return spouseId; } public void setSpouseId(int spouseId) { this.spouseId = spouseId; } public int getFatherId() { return fatherId; } public void setFatherId(int fatherId) { this.fatherId = fatherId; } public int getMomId() { return momId; } public void setMomId(int momId) { this.momId = momId; } public String getBirth() { return birth; } public void setBirth(String birth) { this.birth = birth; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getFamilyId() { return familyId; } public void setFamilyId(String familyId) { this.familyId = familyId; } public String getSecondFamilyId() { return secondFamilyId; } public void setSecondFamilyId(String secondFamilyId) { this.secondFamilyId = secondFamilyId; } public int getIdentity() { return identity; } public void setIdentity(int identity) { this.identity = identity; } public List getChildList() { return childList; } public void setChildList(List childList) { this.childList = childList; } public void addChild(HomeRootBean child) { if (childList == null) { childList = new ArrayList<>(); } childList.add(child); } public HomeRootBean getSpouse() { return spouse; } public void setSpouse(HomeRootBean spouse) { this.spouse = spouse; } }