<?php
namespace Cms\TenantBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class TenantTypeEmbeddable
* @package Cms\TenantBundle\Entity
*
* @ORM\Embeddable
*/
class TenantTypeEmbeddable
{
const PRIMARY__BUSINESS = 'business';
const PRIMARY__CDD = 'cdd';
const PRIMARY__HIGHERED = 'highered';
const PRIMARY__INTERNAL = 'internal';
const PRIMARY__K12 = 'k12';
const PRIMARY = [
self::PRIMARY__BUSINESS,
self::PRIMARY__CDD,
self::PRIMARY__HIGHERED,
self::PRIMARY__INTERNAL,
self::PRIMARY__K12,
];
const SECONDARY__BUSINESS__OTHER = 'other';
const SECONDARY__CDD__BREEZE = 'breeze';
const SECONDARY__CDD__DPFG = 'dpfg';
const SECONDARY__CDD__GMS = 'gms';
const SECONDARY__CDD__HALIFAX = 'halifax';
const SECONDARY__CDD__INFRAMARK = 'inframark';
const SECONDARY__CDD__RIZZETTA = 'rizzetta';
const SECONDARY__CDD__OTHER = 'other';
const SECONDARY__HIGHERED__PUBLIC = 'public';
const SECONDARY__HIGHERED__PRIVATE = 'private';
const SECONDARY__HIGHERED__COMMUNITY = 'community';
const SECONDARY__HIGHERED__INTERNATIONAL = 'international';
const SECONDARY__HIGHERED__OTHER = 'other';
const SECONDARY__INTERNAL__DEV = 'dev';
const SECONDARY__INTERNAL__SALES = 'sales';
const SECONDARY__INTERNAL__OTHER = 'other';
const SECONDARY__K12__PUBLIC = 'public';
const SECONDARY__K12__PRIVATE = 'private';
const SECONDARY__K12__CHARTER = 'charter';
const SECONDARY__K12__VOCATIONAL = 'vocational';
const SECONDARY__K12__INTERNATIONAL = 'international';
const SECONDARY__K12__MORIC = 'moric';
const SECONDARY__K12__OTHER = 'other';
const SECONDARY = [
self::PRIMARY__BUSINESS => [
self::SECONDARY__BUSINESS__OTHER,
],
self::PRIMARY__CDD => [
self::SECONDARY__CDD__BREEZE,
self::SECONDARY__CDD__DPFG,
self::SECONDARY__CDD__GMS,
self::SECONDARY__CDD__HALIFAX,
self::SECONDARY__CDD__INFRAMARK,
self::SECONDARY__CDD__OTHER,
self::SECONDARY__CDD__RIZZETTA,
],
self::PRIMARY__HIGHERED => [
self::SECONDARY__HIGHERED__COMMUNITY,
self::SECONDARY__HIGHERED__INTERNATIONAL,
self::SECONDARY__HIGHERED__OTHER,
self::SECONDARY__HIGHERED__PRIVATE,
self::SECONDARY__HIGHERED__PUBLIC,
],
self::PRIMARY__INTERNAL => [
self::SECONDARY__INTERNAL__DEV,
self::SECONDARY__INTERNAL__OTHER,
self::SECONDARY__INTERNAL__SALES,
],
self::PRIMARY__K12 => [
self::SECONDARY__K12__CHARTER,
self::SECONDARY__K12__INTERNATIONAL,
self::SECONDARY__K12__MORIC,
self::SECONDARY__K12__OTHER,
self::SECONDARY__K12__PRIVATE,
self::SECONDARY__K12__PUBLIC,
self::SECONDARY__K12__VOCATIONAL,
],
];
/**
* @var string|null
*
* @ORM\Column(
* type = "string",
* nullable = true
* )
*/
protected $primary;
/**
* @var string|null
*
* @ORM\Column(
* type = "string",
* nullable = true
* )
*/
protected $secondary;
/**
* @return string|null
*/
public function getPrimary(): ?string
{
return $this->primary;
}
/**
* @param string|null $value
* @return $this
*/
public function setPrimary(?string $value = null): TenantTypeEmbeddable
{
$this->primary = $value;
return $this;
}
/**
* @return string|null
*/
public function getSecondary(): ?string
{
return $this->secondary;
}
/**
* @param string|null $value
* @return $this
*/
public function setSecondary(?string $value = null): TenantTypeEmbeddable
{
$this->secondary = $value;
return $this;
}
}