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_role_menu")
public class AuthRoleMenu extends BaseEntity implements Serializable {


    private static final long serialVersionUID = 6572903078111541733L;

    /**
     * 角色-部门中间实体主键ID
     */
    private String authRoleMenuId = SnowflakeIdWorker.uniqueMainId();

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

    /**
     * 菜单ID
     */
    private String authMenuId;

}
