Added admin page for devices

This commit is contained in:
Jan Böhmer 2019-04-26 18:31:09 +02:00
parent c11d78e52f
commit df0a8254bf
5 changed files with 139 additions and 9 deletions

View file

@ -57,13 +57,13 @@ class Device extends PartsContainingDBElement
* @var int
* @ORM\Column(type="integer")
*/
protected $order_quantity;
protected $order_quantity = 0;
/**
* @var bool
* @ORM\Column(type="boolean")
*/
protected $order_only_missing_parts;
protected $order_only_missing_parts = false;
/**
* @ORM\OneToMany(targetEntity="DevicePart", mappedBy="device")