package com.hzs.common.domain.system.config;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 菜单配置权限
 *
 * @author hzs
 * @since 2022-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@KeySequence("BD_MENU_AUTHORITY_SEQ")
@TableName("BD_MENU_AUTHORITY")
public class BdMenuAuthority extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 菜单配置主键
     */
    @TableField("PK_MENU")
    private Integer pkMenu;

    /**
     * 权限类型（1=等级,2=奖衔,3=权限）
     */
    @TableField("AUTHORITY_TYPE")
    private Integer authorityType;

    /**
     * 权限值（等级，奖衔表ID，权限枚举）
     */
    @TableField("AUTHORITY_VALUE")
    private Integer authorityValue;

}
