package com.kym.entity.admin;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kym.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author skyline
 * @since 2023-09-23
 */
@Getter
@Setter
@TableName("t_permission")
public class Permission extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 权限名称
     */
    private String name;

    /**
     * 权限码值
     */
    private String value;

    /**
     * 父级权限
     */
    private int pid;

    /**
     * 排序权重
     */
    private Integer weight;
}
