package
Version:
v0.0.0-...-e98d214
Opens a new window with list of versions in this module.
Published: Mar 26, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AccountInputDTO struct {
Username *string `json:"username" example:"username"`
Password *string `json:"password" example:"secret"`
SiteID *uint `json:"site_id" example:"1"`
PhoneID *uint `json:"phone_id" example:"1"`
MailID *uint `json:"mail_id" example:"1"`
}
type ItemsOutputDTO struct {
Items interface{} `json:"items"`
Count int64 `json:"count"`
}
type LoginInputDTO struct {
Email string `json:"email" example:"admin@admin.com"`
Password string `json:"password" example:"12345678"`
Expire bool `json:"expire" example:"false"`
}
type OperatorInputDTO struct {
Name *string `json:"name" example:"TIM"`
}
Accounts example
type PasswordInputDTO struct {
Password *string `json:"password" example:"secret"`
PasswordConfirm *string `json:"password_confirm" example:"secret"`
}
type PermissionsInputDTO struct {
UserModule *bool `json:"user_module" example:"true"`
ProfileModule *bool `json:"profile_module" example:"true"`
}
type PhoneInputDTO struct {
Number *string `json:"number" example:"TIM"`
OperatorID *uint `json:"operator_id" example:"1"`
}
type ProfileInputDTO struct {
Name *string `json:"name" example:"ADMIN"`
Permissions PermissionsInputDTO `json:"permissions"`
}
type SiteInputDTO struct {
Name *string `json:"name" example:"Google"`
URL *string `json:"url" example:"https://www.google.com/"`
}
type UserInputDTO struct {
Name *string `json:"name" example:"John Cena"`
Email *string `json:"email" example:"john.cena@email.com"`
Status *bool `json:"status" example:"true"`
ProfileID *uint `json:"profile_id" example:"1"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.