package com.luohuo.flex.im.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.luohuo.basic.base.entity.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户角色关系表
 * </p>
 *
 * @author nyh
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("im_user_role")
public class UserRole extends Entity<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * uid
     */
    @TableField("uid")
    private Long uid;

    /**
     * 角色id
     */
    @TableField("role_id")
    private Long roleId;
}
