up
This commit is contained in:
12
services/board/user.go
Normal file
12
services/board/user.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package board
|
||||
|
||||
type UserCreate struct {
|
||||
// Domain specific fields
|
||||
Username string `json:"username"`
|
||||
Role string `json:"role"`
|
||||
Email string `json:"email"`
|
||||
Nickname string `json:"nickname"`
|
||||
Password string `json:"password"`
|
||||
PasswordHash string
|
||||
OpenID string
|
||||
}
|
||||
Reference in New Issue
Block a user