resq/src/Entity/PrivacyPolicy.php

116 lines
2 KiB
PHP

<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity
* @ORM\Table(name="privacy_policy")
*/
class PrivacyPolicy
{
// unique id
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
// name
/**
* @ORM\Column(type="string", length=80)
*/
protected $name;
// content
/**
* @ORM\Column(type="text")
*/
protected $content;
// link to mobile app customers
/**
* @ORM\OneToMany(targetEntity="Customer", mappedBy="privpol_mobile_app")
*/
protected $cust_mobile_app;
// link to third party customers
/**
* @ORM\OneToMany(targetEntity="Customer", mappedBy="privpol_third_party")
*/
protected $cust_third_party;
/**
* @ORM\OneToMany(targetEntity="Customer", mappedBy="privpol_promo")
*/
protected $cust_promo;
public function getID()
{
return $this->id;
}
public function setName($name)
{
$this->name = $name;
return $this;
}
public function getName()
{
return $this->name;
}
public function setContent($content)
{
$this->content = $content;
return $this;
}
public function getContent()
{
return $this->content;
}
public function setCustMobileApp($cust_mobile_app)
{
$this->cust_mobile_app = $cust_mobile_app;
return $this;
}
public function getCustMobileApp()
{
return $this->cust_mobile_app;
}
public function setCustThirdParty($cust_third_party)
{
$this->cust_third_party = $cust_third_party;
return $this;
}
public function getCustThirdParty()
{
return $this->cust_third_party;
}
public function setCustPromo($cust_promo)
{
$this->cust_promo = $cust_promo;
return $this;
}
public function getCustPromo()
{
return $this->cust_promo;
}
}