CeDo
2021-04-20 726f97c55b0937bf0d048313271bdd7a80cdd1f6
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngPopulationVO.java
@@ -1,5 +1,10 @@
package com.panzhihua.common.model.vos.community;
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
import com.panzhihua.common.model.helper.sensitive.Sensitive;
import com.panzhihua.common.model.helper.sensitive.SensitiveStrategy;
import com.panzhihua.common.model.vos.user.ComHouseMemberVo;
import com.panzhihua.common.model.vos.user.ComMngFamilyInfoVO;
import com.panzhihua.common.validated.AddGroup;
import io.swagger.annotations.ApiModel;
@@ -15,6 +20,7 @@
 */
@Data
@ApiModel("实有人口表")
@EncryptDecryptClass
public class ComMngPopulationVO {
    /**
@@ -60,6 +66,8 @@
     */
    @ApiModelProperty("身份证号码")
    @NotBlank(groups = {AddGroup.class},message = "身份证号码不可为空")
    @EncryptDecryptField
    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String cardNo;
    /**
     * 街路巷
@@ -111,6 +119,8 @@
     */
    @ApiModelProperty("联系方式")
    @NotBlank(groups = {AddGroup.class},message = "联系方式不可为空")
    @EncryptDecryptField
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phone;
    /**
     * 备注
@@ -149,8 +159,61 @@
    @ApiModelProperty("小区名字")
    private String alley;
    /**
     * 家庭成员
     * 房屋成员
     */
    @ApiModelProperty("家庭成员")
    private List<ComMngFamilyInfoVO> comMngFamilyInfoVOS;
    @ApiModelProperty("房屋成员")
    private List<ComHouseMemberVo> comMngFamilyInfoVOS;
    /**
     * 是否租住(0.否 1.是)
     */
    @ApiModelProperty("是否租住")
    @NotBlank(groups = {AddGroup.class},message = "是否租住不可为空")
    private Integer isRent;
    /**
     * 文化程度
     */
    @ApiModelProperty("文化程度")
    private String cultureLevel;
    /**
     * 婚姻状况
     */
    @ApiModelProperty("婚姻状况")
    private String marriage;
    /**
     * 健康状况
     */
    @ApiModelProperty("健康状况")
    private String healthy;
    /**
     * 性别(1.男 2.女 3.未知)
     */
    public interface sex{
        int nan = 1;
        int nv = 2;
        int no = 3;
    }
    /**
     * 是否租住
     */
    public interface isOk{
        int yes = 1;
        int no = 0;
    }
    /**
     * 政治面貌
     */
    public interface politicalOutlook{
        int dang = 1;
        int tuan = 3;
        int wu = 12;
        int qun = 13;
        int no = 13;
    }
}