mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-12-01 02:56:49 +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"
|
|
}
|