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

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.JdbcType;

/**
 * 菜单配置表
 *
 * @author hzs
 * @since 2022-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@KeySequence("BD_MENU_SEQ")
@TableName("BD_MENU")
public class BdMenu extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 等级冗余
     */
    @TableField(value = "GRADE_VALUES", jdbcType = JdbcType.VARCHAR, updateStrategy = FieldStrategy.IGNORED)
    private String gradeValues;

    /**
     * 奖衔冗余
     */
    @TableField(value = "AWARD_VALUES", jdbcType = JdbcType.VARCHAR, updateStrategy = FieldStrategy.IGNORED)
    private String awardValues;

    /**
     * 菜单冗余
     */
    @TableField(value = "MENU_VALUES", jdbcType = JdbcType.VARCHAR, updateStrategy = FieldStrategy.IGNORED)
    private String menuValues;

    /**
     * 权限冗余
     */
    @TableField("AUTHORITY_VALUES")
    private String authorityValues;

}
