github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_entity/sys_permission.go (about)

     1  // =================================================================================
     2  // Code generated by GoFrame CLI tool. DO NOT EDIT.
     3  // =================================================================================
     4  
     5  package sys_entity
     6  
     7  import (
     8  	"github.com/gogf/gf/v2/os/gtime"
     9  )
    10  
    11  // SysPermission is the golang structure for table sys_permission.
    12  type SysPermission struct {
    13  	Id          int64       `json:"id"          description:"ID"`
    14  	ParentId    int64       `json:"parentId"    description:"父级ID"`
    15  	Name        string      `json:"name"        description:"名称"`
    16  	Description string      `json:"description" description:"描述"`
    17  	Identifier  string      `json:"identifier"  description:"标识符"`
    18  	Type        int         `json:"type"        description:"类型:1api,2menu"`
    19  	MatchMode   int         `json:"matchMode"   description:"匹配模式:ID:0,标识符:1"`
    20  	IsShow      int         `json:"isShow"      description:"是否显示:0不显示 1显示"`
    21  	Sort        int         `json:"sort"        description:"排序"`
    22  	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
    23  	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
    24  }