mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-05 06:55:27 +01:00
Added admin pages for manufacturers and suppliers.
This commit is contained in:
@@ -24,6 +24,7 @@ declare(strict_types=1);
|
||||
namespace App\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
/**
|
||||
* This abstract class is used for companies like suppliers or manufacturers.
|
||||
@@ -36,37 +37,39 @@ abstract class Company extends StructuralDBElement
|
||||
* @var string The address of the company
|
||||
* @ORM\Column(type="string")
|
||||
*/
|
||||
protected $address;
|
||||
protected $address = "";
|
||||
|
||||
/**
|
||||
* @var string The phone number of the company
|
||||
* @ORM\Column(type="string")
|
||||
*/
|
||||
protected $phone_number;
|
||||
protected $phone_number = "";
|
||||
|
||||
/**
|
||||
* @var string The fax number of the company
|
||||
* @ORM\Column(type="string")
|
||||
*/
|
||||
protected $fax_number;
|
||||
protected $fax_number = "";
|
||||
|
||||
/**
|
||||
* @var string The email address of the company
|
||||
* @ORM\Column(type="string")
|
||||
* @Assert\Email()
|
||||
*/
|
||||
protected $email_address;
|
||||
protected $email_address = "";
|
||||
|
||||
/**
|
||||
* @var string The website of the company
|
||||
* @ORM\Column(type="string")
|
||||
* @Assert\Url()
|
||||
*/
|
||||
protected $website;
|
||||
protected $website = "";
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @ORM\Column(type="string")
|
||||
*/
|
||||
protected $auto_product_url;
|
||||
protected $auto_product_url = "";
|
||||
|
||||
/********************************************************************************
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user