Add default value to customer classificiation
This commit is contained in:
parent
3dff90da90
commit
23afaade96
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
use App\Ramcar\CustomerClassification;
|
||||
|
||||
/**
|
||||
* @ORM\Entity
|
||||
* @ORM\Table(name="customer")
|
||||
|
|
@ -95,6 +97,8 @@ class Customer
|
|||
$this->vehicles = new ArrayCollection();
|
||||
$this->job_orders = new ArrayCollection();
|
||||
|
||||
$this->customer_classification = CustomerClassification::REGULAR;
|
||||
|
||||
$this->flag_confirmed = false;
|
||||
$this->flag_mobile_app = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue