Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct {
ID uint `gorm:"column:id;primary_key;AUTO_INCREMENT"`
Username string `gorm:"column:username;NOT NULL"`
Mobile string `gorm:"column:mobile"`
Email string `gorm:"column:email"`
Password string `gorm:"column:password"`
CreatedAt time.Time `gorm:"column:created_at;NOT NULL"`
UpdatedAt time.Time `gorm:"column:updated_at"`
}
Click to show internal directories.
Click to hide internal directories.