/**
 * Copyright 2018 人人开源 https://www.renren.io
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */
package com.epmet.dto;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
/**
 * 用户居民端注册信息表  用户在居民端完善的个人信息
 *
 * @author generator generator@elink-cn.com
 * @since v1.0.0 2020-03-30
 */
@Data
public class UserResiInfoDTO implements Serializable {
    private static final long serialVersionUID = 1L;
	/**
	 * 政府端:gov、居民端:resi、运营端:oper
	 */
	private String app;
	/**
	 * 唯一标识
	 */
	private String id;
    /**
     * 用户Id(主键) user.id
     */
	private String userId;
	/**
	 * 手机号(注册手机号)
	 */
	@NotBlank(message = "手机号不能为空")
	private String regMobile;
    /**
     * 姓氏
     */
	private String surname;
    /**
     * 名称
     */
	private String name;
    /**
     * 街道
     */
	private String street;
    /**
     * 小区名称
     */
	private String district;
    /**
     * 楼栋单元
     */
	private String buildingAddress;
    /**
     * 居民注册行为记录表Id resi_visit.id
     */
	private String resiVisitId;
    /**
     * 删除标识:0.未删除 1.已删除
     */
	private Integer delFlag;
    /**
     * 乐观锁
     */
	private Integer revision;
    /**
     * 创建人
     */
	private String createdBy;
    /**
     * 创建时间
     */
	private Date createdTime;
    /**
     * 更新人
     */
	private String updatedBy;
    /**
     * 更新时间
     */
	private Date updatedTime;
	/**
	 * 用户显示名称
	 */
	private String showName;
	/**
	 * 客户Id (customer.id)
	 */
	@NotBlank(message = "客户Id不能为空")
	private String customerId;
	/**
	 * 网格Id (customer_grid.id)
	 */
	private String gridId;
	/**
	 * 手机验证码
	 */
	private String mobileCode;
}