feat: redesign superadmin agencies list, implement flat design, add date filters, and fix UI bugs
This commit is contained in:
@@ -18,14 +18,22 @@ type Tenant struct {
|
||||
Phone string `json:"phone,omitempty" db:"phone"`
|
||||
Website string `json:"website,omitempty" db:"website"`
|
||||
Address string `json:"address,omitempty" db:"address"`
|
||||
Neighborhood string `json:"neighborhood,omitempty" db:"neighborhood"`
|
||||
Number string `json:"number,omitempty" db:"number"`
|
||||
Complement string `json:"complement,omitempty" db:"complement"`
|
||||
City string `json:"city,omitempty" db:"city"`
|
||||
State string `json:"state,omitempty" db:"state"`
|
||||
Zip string `json:"zip,omitempty" db:"zip"`
|
||||
Description string `json:"description,omitempty" db:"description"`
|
||||
Industry string `json:"industry,omitempty" db:"industry"`
|
||||
IsActive bool `json:"is_active" db:"is_active"`
|
||||
CreatedAt time.Time `json:"created_at" db:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
|
||||
Description string `json:"description,omitempty" db:"description"`
|
||||
Industry string `json:"industry,omitempty" db:"industry"`
|
||||
TeamSize string `json:"team_size,omitempty" db:"team_size"`
|
||||
PrimaryColor string `json:"primary_color,omitempty" db:"primary_color"`
|
||||
SecondaryColor string `json:"secondary_color,omitempty" db:"secondary_color"`
|
||||
LogoURL string `json:"logo_url,omitempty" db:"logo_url"`
|
||||
LogoHorizontalURL string `json:"logo_horizontal_url,omitempty" db:"logo_horizontal_url"`
|
||||
IsActive bool `json:"is_active" db:"is_active"`
|
||||
CreatedAt time.Time `json:"created_at" db:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
|
||||
}
|
||||
|
||||
// CreateTenantRequest represents the request to create a new tenant
|
||||
|
||||
Reference in New Issue
Block a user