<?php
namespace App\Entity;
use App\Repository\GlobalConstantRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: GlobalConstantRepository::class)]
class GlobalConstant
{
const GRP_INFO_CHANNEL = "info_channel";
const GRP_FAMILY_RELATION_TYPE = "family_relation_type";
const GRP_DISABILITY_TYPE = "disability_type";
const GRP_DISABILITY_REASON = "disability_reason";
const GRP_WORK_SECTION = "work_section";
const GRP_NATIONALITY = "nationality";
const GRP_ADDRESSING_TYPE = "addressing_type";
const GRP_USER_ADDRESSING_STATE = "user_addressing_state";
const GRP_USER_ADDRESSING_STATE_TYPE = "user_addressing_state_type";
const GRP_USER_EDUCATION_DEGREE_TYPE = "user_education_degree_type";
const GRP_USER_FILE_TYPE = "user_file_type";
const GRP_DEGREE_INFO_TYPE = "degree_info_type";
const GRP_DEGREE_PROFESSION_GROUP_NAME = "degree_profession_group_name";
const GRP_DEGREE_INFO_GROUP_NAME = "degree_info_group_name";
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private ?int $id;
#[ORM\Column(type: 'string', length: 30)]
private ?string $groupName;
#[ORM\Column(type: 'string', length: 100)]
private ?string $name;
#[ORM\Column(type: 'string', length: 255)]
private ?string $description;
#[ORM\Column(type: 'datetime')]
private ?\DateTimeInterface $timeCreated;
#[ORM\ManyToOne(targetEntity: Admission::class)]
private ?Admission $admission;
public function getAdmission(): ?Admission
{
return $this->admission;
}
public function setAdmission(?Admission $admission): self
{
$this->admission = $admission;
return $this;
}
public function getId(): ?int
{
return $this->id;
}
public function getGroupName(): ?string
{
return $this->groupName;
}
public function setGroupName(string $groupName): self
{
$this->groupName = $groupName;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(string $description): self
{
$this->description = $description;
return $this;
}
public function getTimeCreated(): ?\DateTimeInterface
{
return $this->timeCreated;
}
public function setTimeCreated(\DateTimeInterface $timeCreated): self
{
$this->timeCreated = $timeCreated;
return $this;
}
}