Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDTO ¶
type AccountDTO struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` Username string `json:"username"` Password string `json:"password,omitempty"` Phone string `json:"phone"` Email string `json:"email"` Enabled bool `json:"enabled"` Gender string `json:"gender"` }
func NewAccountDTO ¶
func NewAccountDTO(account *model.Account) *AccountDTO
func (*AccountDTO) ToAccountModel ¶
func (r *AccountDTO) ToAccountModel() *model.Account
Click to show internal directories.
Click to hide internal directories.