Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { Id int `xorm:"not null pk autoincr INTEGER"` PhoneNumber string `xorm:"not null default '' unique unique VARCHAR(32)"` Verified bool `xorm:"not null default false BOOL"` ChangedPwd bool `xorm:"not null default false BOOL"` Password string `xorm:"not null default '' VARCHAR(256)"` Created time.Time `xorm:"not null default now() DATETIME"` }
func (*Credential) TableName ¶
func (m *Credential) TableName() string
Click to show internal directories.
Click to hide internal directories.