Entities
Table of Contents
Classes
- Parameter
- Admin variant of an e-shop parameter, hydrated from `api/eshop/parameter`.
- ParameterGroup
- Admin variant of an e-shop parameter group, hydrated from `api/eshop/parameter-group`.
- ParameterGroupText
- ParameterText
- Producer
- Producer (brand): language-neutral, holds only `name`, no texts.
- Product
- Front product entity.
- ProductCategory
- Front product category entity.
- ProductCategoryText
- Category texts: `href` is the per-language slug (routing), `meta_*` feed the page header,
the fulltext index on (name, info) is kept at database level.
- ProductSet
- Front product set entity (read-only layer).
- ProductSetAccessory
- Accessory (set to set, self-reference) with ordering. `productSet` is the owning set
(inversedBy accessories); `accessorySet` is the recommended accessory (no back collection).
- ProductSetFee
- Fee: a named item with its own price time series ({@see ProductSetFeePrice}). Many-to-many
to `ProductSet` is mapped on the owning side {@see ProductSet::$fees}.
- ProductSetFeePrice
- Append-only time series of fee prices. Composite PK (fee, currency, publishedDatetime) with
the owned FK in the PK; `vat` is a value association outside the PK (set null).
- ProductSetFeeText
- ProductSetFeeType
- Fee type list (content-less pivot plus translations).
- ProductSetFeeTypeText
- ProductSetImageRel
- Link between `ProductSet` and an image with ordering (gallery, drag and drop), same as Blog
`GalleryAssetRel` with `ProductSet` in the gallery role. Composite PK (set + image); the
concrete `#[ORM\Id]` and many-to-one come from the Api/Admin leaf. Images are saved by hard
delete + insert (`afterSave()`); there is no soft delete.
- ProductSetLink
- Multilingual link (manual, video…): `name` and `value` are per language (see the text
entity). Many-to-many to `ProductSet` is mapped on the owning side {@see
ProductSet::$links}.
- ProductSetLinkText
- ProductSetLinkType
- Link type list (manual, video…): content-less pivot plus translations. The PK column is
named `type_id` in the database (not `product_set_link_type_id`), taken 1:1 from legacy.
- ProductSetLinkTypeText
- ProductSetParameterRel
- Admin link between a product set and a parameter (value).
- ProductSetText
- Set texts. The fulltext index (name, longName, description, shortDescription) is kept in the
database; this class only maps columns.
- ProductState
- Marketing label of a product ("New", "Clearance"); complements Store stock availability,
does not duplicate it.
- ProductStateText
- ProductTag
- Product tag (badge). `attributeClass` is the CSS class of the badge (appearance only).
- ProductTagText
- ProductText
- ProductType
- Catalog list of product types. Not the same as Invoicer `ProductType` (the PDF matrix axis);
`OrderInvoiceGenerator` maps between them.
- ProductTypeText
- Product type texts, derived identity: PK = languageId + association to the parent.
- SetItemRel
- Set composition item: a parent set (`type_id = 2`) contains another set with a quantity.