Added Full Name to CreateUserOption (#36)

This commit is contained in:
Richard Mahn 2016-07-26 12:42:24 -06:00 committed by 无闻
parent f2f681f7cb
commit 442b4e5ddc

View file

@ -14,6 +14,7 @@ type CreateUserOption struct {
SourceID int64 `json:"source_id"`
LoginName string `json:"login_name"`
Username string `json:"username" binding:"Required;AlphaDashDot;MaxSize(35)"`
FullName string `json:"full_name" binding:"MaxSize(100)"`
Email string `json:"email" binding:"Required;Email;MaxSize(254)"`
Password string `json:"password" binding:"MaxSize(255)"`
SendNotify bool `json:"send_notify"`