package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author   zhangchenbiao
 * @date   2023-06-08 04:38
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysMenuDO implements Serializable {
    @ApiModelProperty("自增id")
    private Long id;

    @ApiModelProperty("父级菜单")
    private Long parentId;

    @ApiModelProperty("菜单编号")
    private String code;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("请求地址(前端路由)")
    private String path;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否已删除")
    private Boolean deleted;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("菜单类型 1菜单 2权限")
    private Integer menuType;

    @ApiModelProperty("环境")
    private String env;
}