forked from mtusi2026/mtusi2026lab2
15 lines
365 B
Go
15 lines
365 B
Go
package dto
|
|
|
|
type CreateUserRequest struct {
|
|
Password string `json:"password"`
|
|
Username string `json:"username"`
|
|
DisplayName string `json:"display_name"`
|
|
}
|
|
|
|
type CreateUserResponse struct {
|
|
ID string `json:"id"`
|
|
Username string `json:"username"`
|
|
DisplayName string `json:"display_name"`
|
|
CreatedAt Timestamp `json:"created_at"`
|
|
}
|