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.toolset.base.page.QueryInfo;
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:26:59
 */
@Data
@ApiModel(" TenantInfo-机构表")
@TableName("tenant_info")
public class TenantInfo  implements Serializable  {

    @ApiModelProperty("主键ID")

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

    @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("管理员ID，用户ID")
    @TableField(value = "user_id_")
    private Long userId;

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

    @ApiModelProperty("启用/冻结")
    @TableField(value = "enable_flag_")
    private Boolean enableFlag;

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

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

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

}