commons-go/model/member/Member.go

22 lines
861 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package member
2018-04-12 09:38:04 +00:00
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
2018-04-26 07:37:59 +00:00
"git.loafle.net/overflow/commons-go/model/meta"
2018-04-12 09:38:04 +00:00
)
type Member struct {
2018-06-05 09:08:52 +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"`
MetaMemberStatus *meta.MetaMemberStatus `json:"metaMemberStatus,omitempty"`
SigninFailCount int `json:"signinFailCount,omitempty"`
TotpType bool `json:"totpType,omitempty"`
2018-04-12 09:38:04 +00:00
}