This commit is contained in:
Sakurasan
2023-04-13 01:06:15 +08:00
parent 8ece9bdf37
commit 08d5bfbf19
4 changed files with 117 additions and 57 deletions

12
services/board/user.go Normal file
View 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
}