Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CardFidelity ¶
type CardFidelityResponse ¶
type CardFidelityResponse struct { CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` DeletedAt time.Time `json:"deletedAt,omitempty"` UserId uint `json:"userId"` CompanyId uint `json:"companyId"` TotalPoints int `json:"totalPoints"` Finished bool `json:"finished"` Point []PointResponse }
type CompanyResponse ¶
type CompanyResponse struct { ID uint `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` DeletedAt time.Time `json:"deletedAt,omitempty"` Name string `json:"name"` CNPJ string `json:"cnpj"` Address string `json:"address"` AddressNumber string `json:"addressNumber"` AddressComplement string `json:"addressComplement"` AddressCity string `json:"addressCity"` AddressState string `json:"addressState"` AddressZipCode string `json:"addressZipCode"` Users []UserResponse }
type PointResponse ¶
type User ¶
type User struct { gorm.Model Name string Address string Phone string Email string Password string CompanyId uint Type string Code string }
func (*User) ComparePassword ¶
ComparePassword
type UserResponse ¶
type UserResponse struct { ID uint `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` DeletedAt time.Time `json:"deletedAt,omitempty"` Name string `json:"name"` Address string `json:"address"` Phone string `json:"phone"` Email string `json:"email"` Password string `json:"password"` CompanyId uint `json:"companyId"` Type string `json:"type"` Code string `json:"code"` }
Click to show internal directories.
Click to hide internal directories.