package com.gxwebsoft.love.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 证件管理记录表
 *
 * @author 科技小王子
 * @since 2023-06-24 11:18:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Certificate对象", description = "证件管理记录表")
@TableName("love_certificate")
public class Certificate implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "证件id")
    @TableId(value = "certificate_id", type = IdType.AUTO)
    private Integer certificateId;

    @ApiModelProperty(value = "证件名称")
    private String certificateName;

    @ApiModelProperty(value = "证件全称")
    private String fullName;

    @ApiModelProperty(value = "证件标识")
    private String certificateCode;

    @ApiModelProperty(value = "证件类型")
    private String certificateType;

    @ApiModelProperty(value = "证件照片")
    private String files;

    @ApiModelProperty(value = "房产所在的城市")
    private String cityByHouse;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "证件到期时间")
    private Date expirationTime;

    @ApiModelProperty(value = "企业法人")
    private String businessEntity;

    @ApiModelProperty(value = "毕业院校")
    private String college;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "认证方式")
    private String authType;

    @ApiModelProperty(value = "车辆品牌")
    private String carBrand;

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

    @ApiModelProperty(value = "是否实名认证")
    private Integer authentication;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

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

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "用户昵称")
    @TableField(exist = false)
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    @TableField(exist = false)
    private String avatar;

}
