package com.platform.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统用户与品牌绑定关系表
 * </p>
 *
 * @author abner
 * @since 2020-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysUserBrand对象", description="系统用户与品牌绑定关系表")
public class SysUserBrand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一ID")
    private String relationId;

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

    @ApiModelProperty(value = "密码")
    private Long brandId;

    @ApiModelProperty(value = "管理员手机号码")
    private String phoneNum;

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

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否可用:1->可用;0->不可用")
    private Integer enable;

    @ApiModelProperty(value = "店铺的场景码")
    private String sceneNum;

    @TableField(exist = false)
    @ApiModelProperty(value = "店铺的场景名称")
    private String brandName;

    @ApiModelProperty(value = "一起逛权限：1->有权限;0->没有权限")
    private Integer canShow;

    @ApiModelProperty(value = "是否占线: 1->占线;0->空闲")
    private Integer isBusy;
}
