package cn.common.repository.entity;

import cn.common.common.entity.BaseEntity;
import cn.common.common.utils.spring.SnowflakeIdWorker;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.*;

/**
 * @author Singer create by singer email:singer-coder@qq.com
 * @packageName cn.singer.repository.entity
 * @Description: 用户角色关联实体
 * @date 2019-08-12
 */
@Data
@TableName("auth_user_role")
public class AuthUserRole extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 9099446914356030943L;

    /**
     * 用户角色关联主键ID
     */
    private String authUserRoleId = SnowflakeIdWorker.uniqueMainId();

    /**
     * 用户ID
     */
    private String authUserId;

    /**
     * 角色ID
     */
    private String authRoleId;

}
