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\ManyToOne(targetEntity="Customer", inversedBy="job_orders")
|
||||||
* @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
|
* @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
|
||||||
* Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
protected $customer;
|
protected $customer;
|
||||||
|
|
||||||
|
|
@ -98,7 +98,7 @@ class JobOrder
|
||||||
/**
|
/**
|
||||||
* @ORM\ManyToOne(targetEntity="CustomerVehicle", inversedBy="job_orders")
|
* @ORM\ManyToOne(targetEntity="CustomerVehicle", inversedBy="job_orders")
|
||||||
* @ORM\JoinColumn(name="cvehicle_id", referencedColumnName="id")
|
* @ORM\JoinColumn(name="cvehicle_id", referencedColumnName="id")
|
||||||
* Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
protected $cus_vehicle;
|
protected $cus_vehicle;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,14 +26,14 @@ class Outlet
|
||||||
// name of enrollee
|
// name of enrollee
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="string", length=80)
|
* @ORM\Column(type="string", length=80)
|
||||||
* Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
protected $name;
|
protected $name;
|
||||||
|
|
||||||
// address
|
// address
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="string", length=80)
|
* @ORM\Column(type="string", length=80)
|
||||||
* Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
protected $address;
|
protected $address;
|
||||||
|
|
||||||
|
|
@ -47,21 +47,21 @@ class Outlet
|
||||||
// this is displayed in a textarea
|
// this is displayed in a textarea
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="string", length=200)
|
* @ORM\Column(type="string", length=200)
|
||||||
* Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
protected $contact_nums;
|
protected $contact_nums;
|
||||||
|
|
||||||
// opening time
|
// opening time
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="time")
|
* @ORM\Column(type="time")
|
||||||
* Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
protected $time_open;
|
protected $time_open;
|
||||||
|
|
||||||
// closing time
|
// closing time
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="time")
|
* @ORM\Column(type="time")
|
||||||
* Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
protected $time_close;
|
protected $time_close;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue