Commit Graph

9 Commits

Author SHA1 Message Date
4c237fb729 feat: implement product attributes and tenant properties management with CRUD controllers, requests, and domain models 2026-06-26 11:40:07 -03:00
0e2ffc1c74 feat(catalog): add product variant controller, requests and resources 2026-06-24 15:29:01 -03:00
1907178e52 refactor(catalog): nest catalog routes under tenant
Move Catalog endpoints under /api/tenants/{tenant:codigo} and derive tenant
context from the route instead of request payload fields.

- scope marcas, categorias, productos, and product-attributes by tenant
- enforce tenant ownership in catalog controllers
- remove tenant_codigo and tenant_code from Catalog request validation
- update product attribute tests to use tenant-scoped routes
2026-06-24 15:16:38 -03:00
c6e5177df1 feat(catalog): add tenant-scoped product attributes and variant definitions 2026-06-24 15:08:13 -03:00
75129b7552 remove props 2026-06-24 14:43:10 -03:00
e4139d48aa Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands 2026-06-24 11:02:35 -03:00
8d840d94a0 Update StoreCategoryRequest to require tenant_code only when categoria_id is present 2026-06-24 10:43:23 -03:00
6a0080b475 Add Brand and Category management features with controllers, requests, resources, and API routes 2026-06-24 10:20:13 -03:00
8feaa0051d Implement Product management features with controller, requests, resource, and routes 2026-06-24 10:05:26 -03:00