Documentation
¶
Index ¶
- type AutoCodeHistory
- type Column
- type Db
- type LoginResponse
- type PolicyPathResponse
- type SysAPIListResponse
- type SysAPIResponse
- type SysAuthorityBtnRes
- type SysAuthorityCopyResponse
- type SysAuthorityResponse
- type SysBaseMenuResponse
- type SysBaseMenusResponse
- type SysCaptchaResponse
- type SysConfigResponse
- type SysMenusResponse
- type SysUserResponse
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoCodeHistory ¶
type AutoCodeHistory struct {
ID uint `json:"ID" gorm:"column:id"`
CreatedAt time.Time `json:"CreatedAt" gorm:"column:created_at"`
UpdatedAt time.Time `json:"UpdatedAt" gorm:"column:updated_at"`
BusinessDB string `json:"businessDB" gorm:"column:business_db"`
TableName string `json:"tableName" gorm:"column:table_name"`
StructName string `json:"structName" gorm:"column:struct_name"`
StructCNName string `json:"structCNName" gorm:"column:struct_cn_name"`
Flag int `json:"flag" gorm:"column:flag"`
}
type Column ¶
type Column struct {
ColumnName string `json:"columnName" gorm:"column:column_name"` //列名
ColumnType string `json:"columnType" gorm:"column:column_type"` //字段类型 varchar(11)
DataType string `json:"dataType" gorm:"column:data_type"` //数据类型 varchar
DataTypeLong string `json:"dataTypeLong" gorm:"column:data_type_long"` //数据长度
ColumnDefault string `json:"columnDefault" gorm:"column:column_default"` //默认值
ColumnComment string `json:"columnComment" gorm:"column:column_comment"` //备注
IsNullable string `json:"isNullable" gorm:"column:is_nullable"` //是否可空
}
type LoginResponse ¶
type PolicyPathResponse ¶
type PolicyPathResponse struct {
Paths []request.CasbinInfo `json:"paths"`
}
type SysAPIListResponse ¶
type SysAPIResponse ¶
type SysAuthorityBtnRes ¶
type SysAuthorityBtnRes struct {
Selected []uint `json:"selected"`
}
type SysAuthorityCopyResponse ¶
type SysAuthorityCopyResponse struct {
Authority system.SysAuthority `json:"authority"`
OldAuthorityId uint `json:"oldAuthorityId"` // 旧角色ID
}
type SysAuthorityResponse ¶
type SysAuthorityResponse struct {
Authority system.SysAuthority `json:"authority"`
}
type SysBaseMenuResponse ¶
type SysBaseMenuResponse struct {
Menu system.SysBaseMenu `json:"menu"`
}
type SysBaseMenusResponse ¶
type SysBaseMenusResponse struct {
Menus []system.SysBaseMenu `json:"menus"`
}
type SysCaptchaResponse ¶
type SysConfigResponse ¶
type SysMenusResponse ¶
type SysUserResponse ¶
Click to show internal directories.
Click to hide internal directories.