mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-23 12:24:45 +02:00
Improved documentation of entity fields
This commit is contained in:
parent
219fbe5fca
commit
f01ec9dbe4
13 changed files with 30 additions and 27 deletions
|
@ -90,7 +90,7 @@ class Pricedetail extends AbstractDBElement implements TimeStampableInterface
|
|||
protected ?Currency $currency = null;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
* @var float The amount/quantity for which the price is for (in part unit)
|
||||
*/
|
||||
#[Assert\Positive]
|
||||
#[Groups(['extended', 'full', 'import', 'pricedetail:read', 'pricedetail:write'])]
|
||||
|
@ -98,7 +98,7 @@ class Pricedetail extends AbstractDBElement implements TimeStampableInterface
|
|||
protected float $price_related_quantity = 1.0;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
* @var float The minimum amount/quantity, which is needed to get this discount (in part unit)
|
||||
*/
|
||||
#[Assert\Positive]
|
||||
#[Groups(['extended', 'full', 'import', 'pricedetail:read', 'pricedetail:write'])]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue