package com.yuchen.saas.park.api.dto.people;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.mp.support.Query;

import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2023/3/20 15:21
 */
@EqualsAndHashCode
@ApiModel()
@Data
public class PropertyPeopleInfoPageDTO extends Query {


    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    @NotNull(message = "项目id不能为空")
    private Long projectId;
    /**
     * 身份类型（1.物业管理2.物业人员3.安保人员4.保洁人员5.维修人员业管理6.其他）
     */
    @ApiModelProperty(name = "peopleType", value = "身份类型（7.物业管理8.物业人员9.安保人员10.保洁人员11.维修人员业管理12.其他）")
    private Integer peopleType;
    /**
     * 名字
     */
    @ApiModelProperty(name = "userName", value = "人员名字")
    private String userName;

    /**
     * 性别
     */
    @ApiModelProperty(name = "sex", value = "性别")
    private String sex;
    /**
     * 联系方式
     */
    @ApiModelProperty(name = "phone", value = "联系方式")
    private String phone;
    /**
     * 身份ID
     */
    @ApiModelProperty(name = "idCard", value = "身份ID")
    private String idCard;
    /**
     * 证件类型
     */
    @ApiModelProperty(name = "idType", value = "证件类型")
    private String idType;


    /**
     * 绑定状态 （认证状态） 0：未绑定 1：已绑定  0：未认证 1：已认证
     */
    @ApiModelProperty(name = "bindStatus", value = "绑定状态  0：未认证 1：已认证 ")
    private Integer bindStatus;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "bindAccount", value = "用户id")
    private Long bindAccount;
}
