package com.sqx.modules.artificer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class Certification implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)

    @ApiModelProperty("用户实名认证id")
    private Long id;


    @ApiModelProperty("用户id")
    private Long userId;


    @ApiModelProperty("真实姓名")
    private String name;


    @ApiModelProperty("身份证号码")
    private String idNumber;


    @ApiModelProperty("出生年月日")
    private String birthdate;


    @ApiModelProperty("性别 1男 2女")
    private Integer sex;


    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("个人简介")
    public String individualResume;

    @ApiModelProperty("正面照")
    private String front;


    @ApiModelProperty("反面照")
    private String back;


    @ApiModelProperty("资格证书")
    private String certification;


    @ApiModelProperty("形象照")
    private String imagePhoto;


    @ApiModelProperty("创建时间")
    private String createTime;


    @ApiModelProperty("0审核中1审核成功2拒绝3申请退还保证金")
    private Integer status;


    @ApiModelProperty("说明")
    private String remek;


    @ApiModelProperty("修改时间")
    private String updateTime;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("头像")
    private String avatar;

    private Long classifyId;

    @TableField(exist = false)
    private String classifyName;

    @TableField(exist = false)
    private BigDecimal money;

    @TableField(exist = false)
    private Long agencyId;
    public Certification() {}
}