overflow_commons_go/modules/member/model/Member.go

20 lines
696 B
Go
Raw Normal View History

2017-11-08 09:50:44 +00:00
package model
import (
"encoding/json"
2017-12-01 06:04:31 +00:00
meta "git.loafle.net/overflow/overflow_commons_go/modules/meta/model"
util "git.loafle.net/overflow/overflow_commons_go/util"
2017-11-08 09:50:44 +00:00
)
type Member struct {
2017-12-01 06:04:31 +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"`
}