package com.changfa.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author wwz
 * @since 2022-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_menu")
@ApiModel(value="TMenu对象", description="菜单表")
public class TMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "菜单名称")
    @TableField("menu_name")
    private String menuName;

    @ApiModelProperty(value = "菜单编码")
    @TableField("menu_code")
    private String menuCode;

    @ApiModelProperty(value = "菜单权限（后端）")
    @TableField("menu_auth")
    private String menuAuth;

    @ApiModelProperty(value = "所属上级")
    @TableField("parent_key")
    private Integer parentKey;
    @ApiModelProperty(value = "组件")

    @TableField("component")
    private String component;

    @TableLogic(delval = "1",value = "0")
    // @ExcelProperty(value = "删除状态",converter = LogicDelConvert.class)
    private Integer logicDel;



}
