package model import ( "admin/internal/db" "gorm.io/gorm" "time" ) func init() { db.RegisterTableModels(Account{}) } type Account struct { ID int `gorm:"primarykey"` Account string `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index"` }