Add email field to subscription entity #799
This commit is contained in:
parent
1fd883b07b
commit
5056637b66
1 changed files with 17 additions and 0 deletions
|
|
@ -34,6 +34,12 @@ class Subscription
|
|||
*/
|
||||
protected $customer_vehicle;
|
||||
|
||||
// email address
|
||||
/**
|
||||
* @ORM\Column(type="string", length=255, nullable=true)
|
||||
*/
|
||||
protected $email;
|
||||
|
||||
// date subscription was created
|
||||
/**
|
||||
* @ORM\Column(type="datetime")
|
||||
|
|
@ -168,6 +174,17 @@ class Subscription
|
|||
return $this->status;
|
||||
}
|
||||
|
||||
public function setEmail($email)
|
||||
{
|
||||
$this->email = $email;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getEmail()
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
public function setExtApiId($ext_api_id)
|
||||
{
|
||||
$this->ext_api_id = $ext_api_id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue