Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AiApiKey ¶
type AiApiKeyApi ¶
type Menu ¶
type Model ¶
type Model struct { Id int `json:"id" gorm:"type:bigint"` CreatedAt time.Time `json:"createdAt" gorm:"type:timestamp"` CreatedBy string `json:"createdBy" gorm:"type:varchar(100)"` UpdatedAt time.Time `json:"updatedAt" gorm:"type:timestamp"` UpdatedBy string `json:"updatedBy" gorm:"type:varchar(100)"` DeletedAt gorm.DeletedAt `json:"deletedAt" gorm:"type:timestamp"` DeletedBy string `json:"deletedBy" gorm:"type:varchar(100)"` }
type Role ¶
type User ¶
type User struct { Model UserName string `json:"userName" gorm:"type:varchar(100);comment:用户名"` Password string `json:"password" gorm:"type:varchar(100);comment:密码加密串"` RoleIds string `json:"roleIds" gorm:"type:varchar(100);comment:角色id集 使用,分隔"` Email string `json:"email" gorm:"type:varchar(100)"` Phone string `json:"phone" gorm:"type:varchar(100)"` }
Click to show internal directories.
Click to hide internal directories.