Improved documentation of entity fields

This commit is contained in:
Jan Böhmer 2023-09-17 12:50:32 +02:00
parent 219fbe5fca
commit f01ec9dbe4
13 changed files with 30 additions and 27 deletions

View file

@ -108,21 +108,21 @@ class StorageLocation extends AbstractPartsContainingDBElement
protected Collection $parameters;
/**
* @var bool
* @var bool When this attribute is set, it is not possible to add additional parts or increase the instock of existing parts.
*/
#[Groups(['full', 'import', 'location:read', 'location:write'])]
#[ORM\Column(type: Types::BOOLEAN)]
protected bool $is_full = false;
/**
* @var bool
* @var bool When this property is set, only one part (but many instock) is allowed to be stored in this store location.
*/
#[Groups(['full', 'import', 'location:read', 'location:write'])]
#[ORM\Column(type: Types::BOOLEAN)]
protected bool $only_single_part = false;
/**
* @var bool
* @var bool When this property is set, it is only possible to increase the instock of parts, that are already stored here.
*/
#[Groups(['full', 'import', 'location:read', 'location:write'])]
#[ORM\Column(type: Types::BOOLEAN)]