commons-go/model/member/Member.go
crusader ab936be303 ing
2018-06-12 22:13:22 +09:00

22 lines
867 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"`
Password string `json:"password,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"`
}