mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-04 07:24:34 +02:00
Added admin pages for manufacturers and suppliers.
This commit is contained in:
parent
df0a8254bf
commit
4e9cbdffed
9 changed files with 383 additions and 6 deletions
|
@ -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 = "";
|
||||
|
||||
/********************************************************************************
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue