console categories

This commit is contained in:
2026-09-07 17:53:35 +05:30
parent c699a400c3
commit e87f09c4f2
5 changed files with 107 additions and 0 deletions

View File

@@ -21,6 +21,13 @@ type Productcount struct {
Outofstock int `json:"outofstock"`
}
// ProductCategoryUpdate is one row of a bulk re-filing: which product, and
// which category it should sit in.
type ProductCategoryUpdate struct {
Productid int `json:"productid"`
Categoryid int `json:"categoryid"`
}
type ProductCategory struct {
Categoryid int `json:"categoryid"`
Moduleid int `json:"moduleid"`