Saltar al contenido principal

Product & Inventory Entities

Entities for products, variants, categories, types, options, warehouses, and merchants.

Productโ€‹

ColumnTypeDescription
namestringProduct name
codestringSKU/product code
descriptionstring?Description
enabledbooleanAvailability status
imageUrlstring?Product image
featuredImageIdUUID?FK to featured image
productTypeIdUUID?FK to product type
productCategoryIdUUID?FK to category

Relations: variants (OneToMany), category (ManyToOne), type (ManyToOne), options (ManyToMany), tags (ManyToMany), translations (OneToMany)

ProductVariantโ€‹

ColumnTypeDescription
taxesnumber?Tax rate
notesstring?Notes
quantitynumberStock quantity
billingInvoicingPolicyenum?Invoicing policy
internalReferencestring?Internal ref number
enabledbooleanIs available
productIdUUIDFK to product
imageIdUUID?FK to image asset

Relations: price (OneToOne ProductVariantPrice), settings (OneToMany ProductSetting)

ProductCategoryโ€‹

ColumnTypeDescription
imageUrlstring?Category image
translationsOneToManyLocalized names

ProductTypeโ€‹

ColumnTypeDescription
iconstring?Type icon
translationsOneToManyLocalized names

ProductOption / ProductOptionGroupโ€‹

Multi-level product options (e.g., Size โ†’ Small/Medium/Large).

ColumnTypeDescription
namestringOption name
codestringOption code
groupIdUUID?FK to option group

Warehouseโ€‹

ColumnTypeDescription
namestringWarehouse name
codestringWarehouse code
emailstring?Contact email
descriptionstring?Description
activebooleanActive status
logostring?Logo image URL

Relations: products (OneToMany WarehouseProduct), contact (ManyToOne Contact), tags (ManyToMany Tag)

Merchantโ€‹

ColumnTypeDescription
namestringMerchant name
codestringMerchant code
emailstring?Contact email
phonestring?Phone number
descriptionstring?Description
activebooleanActive status
currencystringDefault currency
logostring?Logo URL

Relations: contact (ManyToOne Contact), tags (ManyToMany Tag), warehouses (ManyToMany Warehouse)