package com.unis.crk.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 功能信息表
 * </p>
 *
 * @author ghh
 * @since 2021-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FuncInfo对象", description="功能信息表")
public class FuncInfo implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "功能编号")
    @TableId(value = "func_id", type = IdType.AUTO)
    private String  funcId;

    @ApiModelProperty(value = "功能名称")
    private String funcName;

    @ApiModelProperty(value = "功能路径")
    private String funcUrl;

    @ApiModelProperty(value = "父功能编号")
    private String parentId;

    @ApiModelProperty(value = "功能图标")
    private String icoUrl;

    @ApiModelProperty(value = "状态")
    private Integer status;

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

    @ApiModelProperty(value = "删除标记")
    private Integer delFlag;

    @ApiModelProperty(value = "排序")
    private Integer funcSort;

    @ApiModelProperty(value = "系统使用 5459521:app和pc公共 5459522:pc独有 5459523:app独有")
    @TableField(exist =false)
    private String uses;

    @TableField(exist = false)
    @ApiModelProperty(value = "子菜单")
    private List<FuncInfo> children;
    private Date updatetime;


}
