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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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


/**
 * 用户机构绑定解绑记录
 * 2023-12-04 15:30:02
 */
@Data
@ApiModel(" UserTenantBindRecord-用户机构绑定解绑记录")
@TableName("user_tenant_bind_record")
public class UserTenantBindRecord implements Serializable {

    @TableId(value = "id_")
    private Long id;

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

    @ApiModelProperty("TEACHER:老师，STUDENT:学生")
    @TableField(value = "user_type_")
    private String userType;

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

    @ApiModelProperty("绑定状态:1:已绑定，0：未绑定")
    @TableField(value = "bind_status_")
    private Boolean bindStatus;

    @ApiModelProperty("绑定/解绑最新时间")
    @TableField(value = "bind_time_")
    private Date bindTime;

}