mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
25 lines
485 B
Go
25 lines
485 B
Go
package swagger
|
|
|
|
import (
|
|
)
|
|
|
|
|
|
type User struct {
|
|
|
|
Id int64 `json:"id,omitempty"`
|
|
|
|
Username string `json:"username,omitempty"`
|
|
|
|
FirstName string `json:"firstName,omitempty"`
|
|
|
|
LastName string `json:"lastName,omitempty"`
|
|
|
|
Email string `json:"email,omitempty"`
|
|
|
|
Password string `json:"password,omitempty"`
|
|
|
|
Phone string `json:"phone,omitempty"`
|
|
// User Status
|
|
UserStatus int32 `json:"userStatus,omitempty"`
|
|
}
|