commons-go/model/member/Member.go
crusader f64ffa19c3 ing
2018-06-20 15:11:19 +09:00

22 lines
861 B
Go

package member
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
"git.loafle.net/overflow/commons-go/model/meta"
)
type Member struct {
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"`
}