Add default value to customer classificiation

This commit is contained in:
Kendrick Chan 2018-02-04 12:28:52 +08:00
parent 3dff90da90
commit 23afaade96

View file

@ -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;
}