package com.yonge.cooleshow.biz.dal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.yonge.cooleshow.biz.dal.enums.AuthStatusEnum;
import lombok.Data;

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

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


/**
 * 机构入驻申请记录
 * 2023-07-21 17:32:49
 */
@Data
@ApiModel(" TenantApplyRecord-机构入驻申请记录")
@TableName("tenant_apply_record")
public class TenantApplyRecord implements Serializable {

    @ApiModelProperty("主键ID") 

    @TableId(value = "id_", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("机构ID") 
	@TableField(value = "tenant_id_")
    private Long tenantId;

    @ApiModelProperty("名称") 
	@TableField(value = "name_")
    private String name;

    @ApiModelProperty("logo") 
	@TableField(value = "logo_")
    private String logo;

    @ApiModelProperty("省份编码") 
	@TableField(value = "province_code_")
    private Integer provinceCode;

    @ApiModelProperty("城市编码") 
	@TableField(value = "city_code_")
    private Integer cityCode;

    @ApiModelProperty("地区/街道") 
	@TableField(value = "region_code_")
    private Integer regionCode;

    @ApiModelProperty("联系人") 
	@TableField(value = "username_")
    private String username;

    @ApiModelProperty("手机号") 
	@TableField(value = "phone_")
    private String phone;

    @ApiModelProperty("用户ID")
    @TableField(value = "user_id_")
    private Long userId;

    @ApiModelProperty("审核状态 DOING、审核中 PASS、通过 UNPASS、不通过") 
	@TableField(value = "status_")
    private AuthStatusEnum status;

    @ApiModelProperty("审核人") 
	@TableField(value = "verify_user_id_")
    private Long verifyUserId;

    @ApiModelProperty("审核理由") 
	@TableField(value = "reason_")
    private String reason;

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

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

    @ApiModelProperty("简介")
    @TableField(value = "brief_Introduction_")
    private String briefIntroduction;

}