mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-03 23:14:36 +02:00
Show part mass in part info page.
This commit is contained in:
parent
aafbda3376
commit
c2b43f2cfa
7 changed files with 210 additions and 6 deletions
|
@ -271,6 +271,7 @@ class Part extends AttachmentContainingDBElement
|
|||
/**
|
||||
* @var float|null How much a single part unit weighs in gramms.
|
||||
* @ORM\Column(type="float", nullable=true)
|
||||
* @Assert\Positive()
|
||||
*/
|
||||
protected $mass;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue