package com.ssm.manage.entity;


//import com.dc.common.core.BaseEntity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Id;

/**
 * 菜单权限(RlMenuPower)实体类
 *
 * @author makejava
 * @since 2023-12-13 15:34:05
 */
@TableName("rl_menu_power")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "菜单权限")
@JsonIgnoreProperties(ignoreUnknown = true)
public class RlMenuPower implements Serializable {
    private static final long serialVersionUID = -14069841069913136L;
    /**
     * 主键ID
     */
    @Id
    @Column(name = "id")
    @ApiModelProperty(name = "id", value = "主键ID")
    private Integer id;
    /**
     * 0:菜单 1:权限按钮
     */
    @Column(name = "type")
    @ApiModelProperty(name = "type", value = "0:菜单 1:权限按钮")
    private Integer type;
    /**
     * 父级ID
     */
    @Column(name = "parent_id")
    @ApiModelProperty(name = "parentId", value = "父级ID")
    private Integer parentId;
    /**
     * 名称
     */
    @Column(name = "power_name")
    @ApiModelProperty(name = "powerName", value = "名称")
    private String powerName;
    /**
     * 0=显示，1=隐藏
     */
    @Column(name = "state")
    @ApiModelProperty(name = "state", value = "0=显示，1=隐藏")
    private Integer state;


}
