package io.renren.modules.loan.dto;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 客户基本信息表
 *
 * @author lsy 
 * @since 1.0.0 2022-10-30
 */
@Data
@ApiModel(value = "客户基本信息表")
public class TCustBaseDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键Id")
	private Long id;

	@ApiModelProperty(value = "客户编号")
	private String custCode;

	@ApiModelProperty(value = "姓名")
	private String custName;

	@ApiModelProperty(value = "手机号")
	private String mobile;

	@ApiModelProperty(value = "证件类型代码(字典)")
	private String idType;

	@ApiModelProperty(value = "证件号码")
	private String idNo;

	@ApiModelProperty(value = "性别代码(字典)")
	private String sex;

	@ApiModelProperty(value = "生日")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date birthday;

	@ApiModelProperty(value = "户籍-省")
	private String registerProvinceCode;

	@ApiModelProperty(value = "户籍-市")
	private String registerCityCode;

	@ApiModelProperty(value = "户籍-区")
	private String registerAreaCode;

	@ApiModelProperty(value = "户籍详细地址")
	private String registerAddress;

	@ApiModelProperty(value = "居住地址-省")
	private String provinceCode;

	@ApiModelProperty(value = "居住地址-市")
	private String cityCode;

	@ApiModelProperty(value = "居住地址-区")
	private String areaCode;

	@ApiModelProperty(value = "居住地址-详细地址")
	private String address;

	@ApiModelProperty(value = "婚姻状况代码(字典)")
	private String isMarriedCode;

	@ApiModelProperty(value = "学历代码(字典)")
	private String educationCode;

	@ApiModelProperty(value = "职业代码(字典)")
	private String companyType;

	@ApiModelProperty(value = "车产有无")
	private String carStatus;

	@ApiModelProperty(value = "房产有无")
	private String houseStatus;

	@ApiModelProperty(value = "银行编码")
	private String bankCode;

	@ApiModelProperty(value = "银行名称")
	private String bankName;

	@ApiModelProperty(value = "银行卡号")
	private String bankCardNo;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "创建人")
	private String creator;

	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	@ApiModelProperty(value = "更新人")
	private String updateBy;

	@ApiModelProperty(value = "版本号")
	private Long version;

	@ApiModelProperty(value = "备注")
	private String remark;


}