package com.yonge.cooleshow.biz.dal.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 com.yonge.cooleshow.common.enums.UserLockFlag;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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


/**
 * 机构员工表
 * 2023-07-21 17:32:49
 */
@Data
@ApiModel(" TenantStaff-机构员工表")
@TableName("tenant_staff")
public class TenantStaff implements Serializable {

    @ApiModelProperty("主键ID") 

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

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

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

    @ApiModelProperty("头像") 
	@TableField(value = "avatar_")
    private String avatar;

    @ApiModelProperty("昵称") 
	@TableField(value = "nickname_")
    private String nickname;

    @ApiModelProperty("IM授权签名") 
	@TableField(value = "im_token_")
    private String imToken;

    @ApiModelProperty("微信ID") 
	@TableField(value = "wechat_id_")
    private String wechatId;

    @ApiModelProperty("微信OpenID") 
	@TableField(value = "wx_openid_")
    private String wxOpenid;

    @ApiModelProperty("公众号关注标识") 
	@TableField(value = "subscribe_flag_")
    private Boolean subscribeFlag;

    @ApiModelProperty("管理员标识") 
	@TableField(value = "manage_admin_")
    private Boolean manageAdmin;

    @ApiModelProperty("介绍") 
	@TableField(value = "introduction_")
    private String introduction;

    @ApiModelProperty("帐号状态(注销，冻结，激活)") 
	@TableField(value = "status_")
    private UserLockFlag status;

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

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

}