github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_entity/sys_role.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  // SysRole is the golang structure for table sys_role.
    12  type SysRole struct {
    13  	Id          int64       `json:"id"          description:""`
    14  	Name        string      `json:"name"        description:"名称"`
    15  	Description string      `json:"description" description:"描述"`
    16  	IsSystem    bool        `json:"isSystem"    description:"是否默认角色,true仅能修改名称,不允许删除和修改"`
    17  	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
    18  	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
    19  	UnionMainId int64       `json:"unionMainId" description:"主体id"`
    20  }