Fix erroneous assert annotations
This commit is contained in:
parent
0694f56ce2
commit
bf0bd708e8
2 changed files with 7 additions and 7 deletions
|
|
@ -90,7 +90,7 @@ class JobOrder
|
|||
/**
|
||||
* @ORM\ManyToOne(targetEntity="Customer", inversedBy="job_orders")
|
||||
* @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
|
||||
* Assert\NotBlank()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
protected $customer;
|
||||
|
||||
|
|
@ -98,7 +98,7 @@ class JobOrder
|
|||
/**
|
||||
* @ORM\ManyToOne(targetEntity="CustomerVehicle", inversedBy="job_orders")
|
||||
* @ORM\JoinColumn(name="cvehicle_id", referencedColumnName="id")
|
||||
* Assert\NotBlank()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
protected $cus_vehicle;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,14 +26,14 @@ class Outlet
|
|||
// name of enrollee
|
||||
/**
|
||||
* @ORM\Column(type="string", length=80)
|
||||
* Assert\NotBlank()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
// address
|
||||
/**
|
||||
* @ORM\Column(type="string", length=80)
|
||||
* Assert\NotBlank()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
protected $address;
|
||||
|
||||
|
|
@ -47,21 +47,21 @@ class Outlet
|
|||
// this is displayed in a textarea
|
||||
/**
|
||||
* @ORM\Column(type="string", length=200)
|
||||
* Assert\NotBlank()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
protected $contact_nums;
|
||||
|
||||
// opening time
|
||||
/**
|
||||
* @ORM\Column(type="time")
|
||||
* Assert\NotBlank()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
protected $time_open;
|
||||
|
||||
// closing time
|
||||
/**
|
||||
* @ORM\Column(type="time")
|
||||
* Assert\NotBlank()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
protected $time_close;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue