<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 * @ORM\Table(name="external_data_cc_member_status")
 */
class ExternalDataCCMemberStatus {
    public function __construct(int $id)
    {
        if ($id === 1) {
            $this->id = 1;
            $this->memberStatus = "membre CC";
        }
        if ($id === 2) {
            $this->id = 2;
            $this->memberStatus = "ancien membre CC";
        }
    }
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    private $id;

    /** @ORM\Column(type="string", length=50) */
    private $memberStatus;
}
