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.ComMngFamilyInfoVO;
|
import com.panzhihua.common.validated.AddGroup;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* 实有人口Vo
|
*/
|
@Data
|
@ApiModel("实有人口表")
|
@EncryptDecryptClass
|
public class ComMngPopulationVO {
|
|
/**
|
* 自增 id
|
*/
|
@ApiModelProperty("实有人口id")
|
private Long id;
|
/**
|
* 街道id
|
*/
|
@ApiModelProperty("街道id")
|
private Integer streetId;
|
/**
|
* 社区id
|
*/
|
@ApiModelProperty("社区id")
|
private Integer actId;
|
/**
|
* 小区id(实有房屋id)
|
*/
|
@ApiModelProperty("小区id(实有房屋id)")
|
private Integer villageId;
|
/**
|
* 家庭成员(姓名)
|
*/
|
@ApiModelProperty("家庭成员(姓名)")
|
@NotBlank(groups = {AddGroup.class},message = "家庭成员(姓名)不可为空")
|
private String name;
|
/**
|
* 性别(1.男 2.女 3.未知)
|
*/
|
@ApiModelProperty("性别(1.男 2.女 3.未知)")
|
@NotBlank(groups = {AddGroup.class},message = "性别不可为空")
|
private Integer sex;
|
/**
|
* 年龄
|
*/
|
@ApiModelProperty("年龄")
|
@NotBlank(groups = {AddGroup.class},message = "年龄不可为空")
|
private Integer age;
|
/**
|
* 身份证号码
|
*/
|
@ApiModelProperty("身份证号码")
|
@NotBlank(groups = {AddGroup.class},message = "身份证号码不可为空")
|
@EncryptDecryptField
|
@Sensitive(strategy = SensitiveStrategy.ID_CARD)
|
private String cardNo;
|
/**
|
* 街路巷
|
*/
|
@ApiModelProperty("街路巷")
|
@NotBlank(groups = {AddGroup.class},message = "街路巷不可为空")
|
private String road;
|
/**
|
* 门牌号
|
*/
|
@ApiModelProperty("门牌号")
|
@NotBlank(groups = {AddGroup.class},message = "门牌号不可为空")
|
private Integer doorNo;
|
/**
|
* 楼排号
|
*/
|
@ApiModelProperty("楼排号")
|
@NotBlank(groups = {AddGroup.class},message = "楼排号不可为空")
|
private String floor;
|
/**
|
* 单元号
|
*/
|
@ApiModelProperty("单元号")
|
@NotBlank(groups = {AddGroup.class},message = "单元号不可为空")
|
private Integer unitNo;
|
/**
|
* 户室(房间号)
|
*/
|
@ApiModelProperty("户室(房间号)")
|
@NotBlank(groups = {AddGroup.class},message = "户室(房间号)不可为空")
|
private Integer houseNo;
|
/**
|
* 政治面貌(1.中共党员2.中共预备党员3.共青团员4.民革党员5.民盟盟员6.民建会员7.8.农工党党员9.致公党党员10.九三学社社员11.台盟盟员12.无党派人士13.群众)
|
*/
|
@ApiModelProperty("政治面貌(1.中共党员2.中共预备党员3.共青团员4.民革党员5.民盟盟员6.民建会员7.8.农工党党员9.致公党党员10.九三学社社员11.台盟盟员12.无党派人士13.群众)")
|
@NotBlank(groups = {AddGroup.class},message = "政治面貌不可为空")
|
private Integer politicalOutlook;
|
/**
|
* 工作单位
|
*/
|
@ApiModelProperty("工作单位")
|
private String workCompany;
|
/**
|
* 特殊情况
|
*/
|
private String specialSituation;
|
/**
|
* 联系方式
|
*/
|
@ApiModelProperty("联系方式")
|
@NotBlank(groups = {AddGroup.class},message = "联系方式不可为空")
|
@EncryptDecryptField
|
@Sensitive(strategy = SensitiveStrategy.PHONE)
|
private String phone;
|
/**
|
* 备注
|
*/
|
@ApiModelProperty("备注")
|
private String remark;
|
/**
|
* 标签集合(多个标签以,隔开)
|
*/
|
@ApiModelProperty("标签集合(多个标签以,隔开)")
|
private String label;
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty("创建时间")
|
private Date createAt;
|
/**
|
* 修改时间
|
*/
|
@ApiModelProperty("修改时间")
|
private Date updateAt;
|
|
/**
|
* 籍贯
|
*/
|
@ApiModelProperty("籍贯")
|
private String nativePlace;
|
/**
|
* 民族
|
*/
|
@ApiModelProperty("民族")
|
private String nation;
|
/**
|
* 小区名字
|
*/
|
@ApiModelProperty("小区名字")
|
private String alley;
|
/**
|
* 家庭成员
|
*/
|
@ApiModelProperty("家庭成员")
|
private List<ComMngFamilyInfoVO> comMngFamilyInfoVOS;
|
|
/**
|
* 是否租住(0.否 1.是)
|
*/
|
@ApiModelProperty("是否租住")
|
@NotBlank(groups = {AddGroup.class},message = "是否租住不可为空")
|
private Integer isRent;
|
|
/**
|
* 性别(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;
|
}
|
}
|