mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-29 02:12:14 +02:00
14 lines
179 B
Go
14 lines
179 B
Go
package models
|
|
|
|
var _ Model = (*Admin)(nil)
|
|
|
|
type Admin struct {
|
|
BaseAccount
|
|
|
|
Avatar int `db:"avatar" json:"avatar"`
|
|
}
|
|
|
|
func (m *Admin) TableName() string {
|
|
return "_admins"
|
|
}
|