Files
mtusi2026lab2/dto/create_user.go
T
2026-10-06 19:51:28 +03:00

16 lines
342 B
Go

package dto
import "time"
type CreateUserRequest struct {
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 time.Time `json:"created_at"`
}