Your IP : 216.73.217.79


Current Path : /var/www/v3.cesa.co.za/src/MemberBundle/Entity/
Upload File :
Current File : /var/www/v3.cesa.co.za/src/MemberBundle/Entity/MemberContact.php

<?php

namespace App\MemberBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * MemberContact
 *
 * @ORM\Table(name="MemberContacts")
 * @ORM\Entity(repositoryClass="App\MemberBundle\Repository\MemberContactRepository")
 */
class MemberContact
{
    /**
     * @ORM\Id
     * @ORM\Column(name="ContactID", type="integer")
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @ORM\Column(name="ContactSurname", type="string", length=50)
     */
    private $contact_surname;

    /**
     * @ORM\Column(name="ContactInitials", type="string", length=50, nullable=true)
     */
    private $contact_initials;

    /**
     * @ORM\Column(name="ContactFirstName", type="string", length=50, nullable=true)
     */
    private $contact_first_name;

    /**
     * @ORM\Column(name="ContactDesignation", type="string", length=50, nullable=true)
     */
    private $contact_designation;

    /**
     * @ORM\Column(name="Language", type="string", length=50, nullable=true)
     */
    private $language;

    /**
     * @ORM\Column(name="BirthDate", type="datetime", nullable=true)
     */
    private $birth_date;

    /**
     * @ORM\Column(name="NameOfSpouse", type="string", length=50, nullable=true)
     */
    private $name_of_spouse;

    /**
     * @ORM\Column(name="CellPhone", type="string", length=50, nullable=true)
     */
    private $cell_phone;

    /**
     * @ORM\Column(name="PersonalTel", type="string", length=50, nullable=true)
     */
    private $personal_tel;

    /**
     * @ORM\Column(name="PersonalFax", type="string", length=50, nullable=true)
     */
    private $personal_fax;

    /**
     * @ORM\Column(name="ProfessionalRegistrations", type="string", length=50, nullable=true)
     */
    private $professional_registrations;

    /**
     * @ORM\Column(name="Qualifications", type="string", length=50, nullable=true)
     */
    private $qualifications;

    /**
     * @ORM\Column(name="ContactPosition", type="string", length=50, nullable=true)
     */
    private $contact_position;

    /**
     * @ORM\Column(name="MandatedPrincipal", type="boolean", nullable=true, options={"default": 0})
     */
    private $mandated_principal;

    /**
     * @ORM\Column(name="OfficeHead", type="boolean", nullable=true, options={"default": 0})
     */
    private $office_head;

    /**
     * @ORM\Column(name="Principal", type="boolean", nullable=true, options={"default": 0})
     */
    private $principal;

    /**
     * @ORM\Column(name="Email", type="string", length=255, nullable=true)
     */
    private $email;

    /**
     * @ORM\Column(name="Mail", type="boolean", nullable=true, options={"default": 0})
     */
    private $mail;

    /**
     * @ORM\Column(name="UniqueCode", type="string", length=8, nullable=true)
     */
    private $unique_code;

    /**
     * @ORM\Column(name="OfficeLiaison", type="string", length=1, nullable=true)
     */
    private $office_liaison;

    /**
     * @ORM\Column(name="Comments", type="string", length=255, nullable=true)
     */
    private $comments;

    /**
     * @ORM\Column(name="OfficeLiaisonB", type="string", length=1, nullable=true)
     */
    private $office_liaison_b;

    /**
     * @ORM\Column(name="SchoolMail", type="string", length=1, nullable=true)
     */
    private $school_mail;

    /**
     * @ORM\Column(name="IDNumber", type="string", length=15, nullable=true)
     */
    private $id_number;

    /**
     * @ORM\Column(name="YPF", type="string", length=1, nullable=true)
     */
    private $ypf;

    /**
     * @ORM\Column(name="Email2", type="string", length=255, nullable=true)
     */
    private $email_2;

    /**
     * @ORM\Column(name="SMSUnsubscribe", type="string", length=1, nullable=true)
     */
    private $sms_unsubscribe;

    /**
     * @ORM\ManyToOne(targetEntity="MemberOffice", inversedBy="member_contact")
     * @ORM\JoinColumn(name="OfficeID", referencedColumnName="OfficeID")
     */
    private $member_office;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getContactSurname(): ?string
    {
        return $this->contact_surname;
    }

    public function setContactSurname(string $contact_surname): static
    {
        $this->contact_surname = $contact_surname;

        return $this;
    }

    public function getContactInitials(): ?string
    {
        return $this->contact_initials;
    }

    public function setContactInitials(?string $contact_initials): static
    {
        $this->contact_initials = $contact_initials;

        return $this;
    }

    public function getContactFirstName(): ?string
    {
        return $this->contact_first_name;
    }

    public function setContactFirstName(?string $contact_first_name): static
    {
        $this->contact_first_name = $contact_first_name;

        return $this;
    }

    public function getContactDesignation(): ?string
    {
        return $this->contact_designation;
    }

    public function setContactDesignation(?string $contact_designation): static
    {
        $this->contact_designation = $contact_designation;

        return $this;
    }

    public function getLanguage(): ?string
    {
        return $this->language;
    }

    public function setLanguage(?string $language): static
    {
        $this->language = $language;

        return $this;
    }

    public function getBirthDate(): ?\DateTimeInterface
    {
        return $this->birth_date;
    }

    public function setBirthDate(?\DateTimeInterface $birth_date): static
    {
        $this->birth_date = $birth_date;

        return $this;
    }

    public function getNameOfSpouse(): ?string
    {
        return $this->name_of_spouse;
    }

    public function setNameOfSpouse(?string $name_of_spouse): static
    {
        $this->name_of_spouse = $name_of_spouse;

        return $this;
    }

    public function getCellPhone(): ?string
    {
        return $this->cell_phone;
    }

    public function setCellPhone(?string $cell_phone): static
    {
        $this->cell_phone = $cell_phone;

        return $this;
    }

    public function getPersonalTel(): ?string
    {
        return $this->personal_tel;
    }

    public function setPersonalTel(?string $personal_tel): static
    {
        $this->personal_tel = $personal_tel;

        return $this;
    }

    public function getPersonalFax(): ?string
    {
        return $this->personal_fax;
    }

    public function setPersonalFax(?string $personal_fax): static
    {
        $this->personal_fax = $personal_fax;

        return $this;
    }

    public function getProfessionalRegistrations(): ?string
    {
        return $this->professional_registrations;
    }

    public function setProfessionalRegistrations(?string $professional_registrations): static
    {
        $this->professional_registrations = $professional_registrations;

        return $this;
    }

    public function getQualifications(): ?string
    {
        return $this->qualifications;
    }

    public function setQualifications(?string $qualifications): static
    {
        $this->qualifications = $qualifications;

        return $this;
    }

    public function getContactPosition(): ?string
    {
        return $this->contact_position;
    }

    public function setContactPosition(?string $contact_position): static
    {
        $this->contact_position = $contact_position;

        return $this;
    }

    public function isMandatedPrincipal(): ?bool
    {
        return $this->mandated_principal;
    }

    public function setMandatedPrincipal(?bool $mandated_principal): static
    {
        $this->mandated_principal = $mandated_principal;

        return $this;
    }

    public function isOfficeHead(): ?bool
    {
        return $this->office_head;
    }

    public function setOfficeHead(?bool $office_head): static
    {
        $this->office_head = $office_head;

        return $this;
    }

    public function isPrincipal(): ?bool
    {
        return $this->principal;
    }

    public function setPrincipal(?bool $principal): static
    {
        $this->principal = $principal;

        return $this;
    }

    public function getEmail(): ?string
    {
        return $this->email;
    }

    public function setEmail(?string $email): static
    {
        $this->email = $email;

        return $this;
    }

    public function isMail(): ?bool
    {
        return $this->mail;
    }

    public function setMail(?bool $mail): static
    {
        $this->mail = $mail;

        return $this;
    }

    public function getUniqueCode(): ?string
    {
        return $this->unique_code;
    }

    public function setUniqueCode(?string $unique_code): static
    {
        $this->unique_code = $unique_code;

        return $this;
    }

    public function getOfficeLiaison(): ?string
    {
        return $this->office_liaison;
    }

    public function setOfficeLiaison(?string $office_liaison): static
    {
        $this->office_liaison = $office_liaison;

        return $this;
    }

    public function getComments(): ?string
    {
        return $this->comments;
    }

    public function setComments(?string $comments): static
    {
        $this->comments = $comments;

        return $this;
    }

    public function getOfficeLiaisonB(): ?string
    {
        return $this->office_liaison_b;
    }

    public function setOfficeLiaisonB(?string $office_liaison_b): static
    {
        $this->office_liaison_b = $office_liaison_b;

        return $this;
    }

    public function getSchoolMail(): ?string
    {
        return $this->school_mail;
    }

    public function setSchoolMail(?string $school_mail): static
    {
        $this->school_mail = $school_mail;

        return $this;
    }

    public function getIdNumber(): ?string
    {
        return $this->id_number;
    }

    public function setIdNumber(?string $id_number): static
    {
        $this->id_number = $id_number;

        return $this;
    }

    public function getYpf(): ?string
    {
        return $this->ypf;
    }

    public function setYpf(?string $ypf): static
    {
        $this->ypf = $ypf;

        return $this;
    }

    public function getEmail2(): ?string
    {
        return $this->email_2;
    }

    public function setEmail2(?string $email_2): static
    {
        $this->email_2 = $email_2;

        return $this;
    }

    public function getSmsUnsubscribe(): ?string
    {
        return $this->sms_unsubscribe;
    }

    public function setSmsUnsubscribe(?string $sms_unsubscribe): static
    {
        $this->sms_unsubscribe = $sms_unsubscribe;

        return $this;
    }

    public function getMemberOffice(): ?MemberOffice
    {
        return $this->member_office;
    }

    public function setMemberOffice(?MemberOffice $member_office): static
    {
        $this->member_office = $member_office;

        return $this;
    }
}