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

     1  // =================================================================================
     2  // Code generated by GoFrame CLI tool. DO NOT EDIT.
     3  // =================================================================================
     4  
     5  package sys_do
     6  
     7  import (
     8  	"github.com/gogf/gf/v2/frame/g"
     9  	"github.com/gogf/gf/v2/os/gtime"
    10  )
    11  
    12  // SysRole is the golang structure of table sys_role for DAO operations like Where/Data.
    13  type SysRole struct {
    14  	g.Meta      `orm:"table:sys_role, do:true"`
    15  	Id          interface{} //
    16  	Name        interface{} // 名称
    17  	Description interface{} // 描述
    18  	IsSystem    interface{} // 是否默认角色,true仅能修改名称,不允许删除和修改
    19  	UpdatedAt   *gtime.Time //
    20  	CreatedAt   *gtime.Time //
    21  	UnionMainId interface{} // 主体id
    22  }