71233b6715
Add a sort_order column to brands with a migration, expose a PUT /api/tenant/brands/order reorder endpoint, and wire the admin-web BrandsView with drag-and-drop reordering plus i18n. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
236 B
Go
16 lines
236 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type Brand struct {
|
|
ID int64
|
|
TenantID int64
|
|
Name string
|
|
Website *string
|
|
Description *string
|
|
Status string
|
|
SortOrder int
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|