2018-04-12 09:38:04 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
|
|
|
|
"git.loafle.net/overflow/commons-go/core/util"
|
|
|
|
meta "git.loafle.net/overflow/commons-go/meta/model"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Member struct {
|
2018-04-17 14:03:45 +00:00
|
|
|
ID json.Number `json:"id,Number,omitempty"`
|
|
|
|
Email string `json:"email,omitempty"`
|
|
|
|
Pw string `json:"pw,omitempty"`
|
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
Phone string `json:"phone,omitempty"`
|
|
|
|
CompanyName string `json:"companyName,omitempty"`
|
|
|
|
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
|
|
|
Status *meta.MetaMemberStatus `json:"status,omitempty"`
|
|
|
|
SigninFailCount int `json:"signinFailCount,omitempty"`
|
|
|
|
TotpType bool `json:"totpType,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
}
|