<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
* AppMobileGuest
*
* @ORM\Table(name="app_mobile_guest")
* @ORM\Entity(repositoryClass="App\Repository\AppMobileGuestRepository")
* @ORM\HasLifecycleCallbacks()
*/
class AppMobileGuest
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="eid", type="integer")
*/
private $eid;
/**
* @var string
*
* @ORM\Column(name="last_name", type="string", length=255)
*/
private $lastName;
/**
* @var string
*
* @ORM\Column(name="first_name", type="string", length=255)
*/
private $firstName;
/**
* @var string
*
* @ORM\Column(name="prefix", type="string", length=255, nullable=true)
*/
private $prefix;
/**
* @var string
*
* @ORM\Column(name="email", type="string", length=255)
*/
private $email;
/**
* @var string
*
* @ORM\Column(name="dni", type="string", length=255, nullable=true)
*/
private $dni;
/**
* @var string
*
* @ORM\Column(name="telephone", type="string", length=255, nullable=true)
*/
private $telephone;
/**
* @var string
*
* @ORM\Column(name="city", type="string", length=255, nullable=true)
*/
private $city;
/**
* @var string
*
* @ORM\Column(name="country", type="string", length=255, nullable=true)
*/
private $country;
/**
* @var string
*
* @ORM\Column(name="birth_country", type="string", length=255, nullable=true)
*/
private $birthCountry;
/**
* @var string
*
* @ORM\Column(name="Job_Title", type="string", length=255, nullable=true)
*/
private $jobTitle;
/**
* @var string
*
* @ORM\Column(name="company", type="string", length=255, nullable=true)
*/
private $company;
/**
* @var string
*
* @ORM\Column(name="affiliation", type="string", length=255, nullable=true)
*/
private $affiliation;
/**
* @var string
*
* @ORM\Column(name="registration_status", type="string", length=255)
*/
private $registrationStatus;
/**
* @var string
*
* @ORM\Column(name="token", type="string", length=255, nullable=true, unique=true)
*/
private $token;
/**
* @var boolean
*
* @ORM\Column(name="vip", type="boolean", options={"default"=0}, nullable=true)
*/
private $vip = 0;
/**
* @var \DateTime
*
* @ORM\Column(name="expeditionDate", type="datetime", nullable=true)
*/
private $expeditionDate;
/**
* @var \DateTime
*
* @ORM\Column(name="expireDate", type="datetime", nullable=true)
*/
private $expireDate;
/**
* @var \DateTime
*
* @ORM\Column(name="birthDate", type="datetime", nullable=true)
*/
private $birthDate;
/**
* @var string
*
* @ORM\Column(name="postalAddress", type="string", length=255, nullable=true)
*/
private $postalAddress;
/**
* @var string
*
* @ORM\Column(name="postalCode", type="string", length=255, nullable=true)
*/
private $postalCode;
/**
* @var string
*
* @ORM\Column(name="observations", type="text", nullable=true)
*/
private $observations;
/**
* @var string
*
* @ORM\Column(name="allergens", type="string", length=255, nullable=true)
*/
private $allergens;
/**
* @var boolean
*
* @ORM\Column(name="commercial_communications", type="boolean", options={"default"=0})
*/
private $commercialCommunications = 0;
/**
* @var string
*
* @ORM\Column(name="travel", type="string", length=255, nullable=true)
*/
private $travel;
/**
* @var string
*
* @ORM\Column(name="transport", type="string", length=255, nullable=true)
*/
private $transport;
/**
* @var string
*
* @ORM\Column(name="origin", type="string", length=255, nullable=true)
*/
private $origin;
/**
* @var string
*
* @ORM\Column(name="departureDate", type="datetime", nullable=true)
*/
private $departureDate;
/**
* @var string
*
* @ORM\Column(name="destination", type="string", length=255, nullable=true)
*/
private $destination;
/**
* @var string
*
* @ORM\Column(name="arrivalDate", type="datetime", nullable=true)
*/
private $arrivalDate;
/**
* @var string
*
* @ORM\Column(name="roommate", type="string", length=255, nullable=true)
*/
private $roommate;
/**
* @var string
*
* @ORM\Column(name="dinner", type="string", length=50, nullable=true)
*/
private $dinner;
/**
* @var string
*
* @ORM\Column(name="hotel", type="string", length=50, nullable=true)
*/
private $hotel;
/**
* @var string
*
* @ORM\Column(name="hotel_id", type="string", length=50, nullable=true)
*/
private $hotelId;
/**
* @var string
*
* @ORM\Column(name="room_number", type="string", length=20, nullable=true)
*/
private $roomNumber;
/**
* @var string
*
* @ORM\Column(name="department", type="string", length=255, nullable=true)
*/
private $department;
/**
* @var string
*
* @ORM\Column(name="responsible", type="string", length=255, nullable=true)
*/
private $responsible;
/**
* @var string
*
* @ORM\Column(name="team", type="string", length=255, nullable=true)
*/
private $team;
/**
* @var string
*
* @ORM\Column(name="send_mail_qr", type="string", length=255, nullable=true)
*/
private $sendMailQr;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=true)
*/
private $createdAt;
/**
* @var \DateTime
*
* @ORM\Column(name="updated_at", type="datetime", nullable=true)
*/
private $updatedAt;
/**
* @var \DateTime
*
* @ORM\Column(name="check_in", type="datetime", length=255, nullable=true)
*/
private $checkIn;
/**
* @var \DateTime
*
* @ORM\Column(name="check_out", type="datetime", length=255, nullable=true)
*/
private $checkOut;
/**
* @var string
*
* @ORM\Column(name="size", type="string", length=255, nullable=true)
*/
private $size;
/**
* @var string
*
* @ORM\Column(name="attend_event", type="string", length=255, nullable=true)
*/
private $attendEvent;
/**
* @var string
*
* @ORM\Column(name="send_mail_confirmation", type="string", length=255, nullable=true)
*/
private $sendMailConfirmation;
/**
* @var string
*
* @ORM\Column(name="participant_type", type="string", length=100, nullable=true)
*/
private $participantType;
/**
* @var string
*
* @ORM\Column(name="badge_print", type="string", length=3, nullable=true)
*/
private $badgePrint = "no";
/**
* @var string
*
* @ORM\Column(name="send_mail_invitation", type="string", length=255, nullable=true)
*/
private $sendMailInvitation;
/**
* @var string
*
* @ORM\Column(name="associate", type="string", length=100, nullable=true)
*/
private $associate;
/**
* @var string
*
* @ORM\Column(name="associate_id", type="string", length=100, nullable=true)
*/
private $associateId;
/**
* @var string
*
* @ORM\Column(name="language", type="string", length=255, nullable=true)
*/
private $language = "es";
/**
* @var string
*
* @ORM\Column(name="language_locale", type="string", length=5, nullable=true)
*/
private $languageLocale = "es";
/**
* @var string
*
* @ORM\Column(name="translations", type="string", length=255, nullable=true)
*/
private $translations = "es";
/**
* @var boolean
*
* @ORM\Column(name="onSite", type="boolean", options={"default"=0}, nullable=true)
*/
private $onSite = 0;
/**
* @ORM\ManyToOne(targetEntity=MobileAppUsers::class, inversedBy="appMobileGuests")
* @ORM\JoinColumn(name="mobileapp_users_parent_id", referencedColumnName="uid", nullable=true)
*/
private $MobileAppUsersParent;
/**
* @ORM\ManyToOne(targetEntity=MobileAppPackageSold::class, inversedBy="appMobileGuests")
*/
private $packageSold;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set eid
*
* @param integer $eid
*
* @return AppMobileGuest
*/
public function setEid($eid)
{
$this->eid = $eid;
return $this;
}
/**
* Get eid
*
* @return int
*/
public function getEid()
{
return $this->eid;
}
/**
* Set lastName
*
* @param string $lastName
*
* @return AppMobileGuest
*/
public function setLastName($lastName)
{
$this->lastName = $lastName;
return $this;
}
/**
* Get lastName
*
* @return string
*/
public function getLastName()
{
return $this->lastName;
}
/**
* Set firstName
*
* @param string $firstName
*
* @return AppMobileGuest
*/
public function setFirstName($firstName)
{
$this->firstName = $firstName;
return $this;
}
/**
* Get firstName
*
* @return string
*/
public function getFirstName()
{
return $this->firstName;
}
/**
* Set email
*
* @param string $email
*
* @return AppMobileGuest
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get email
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Set registrationStatus
*
* @param string $registrationStatus
*
* @return AppMobileGuest
*/
public function setRegistrationStatus($registrationStatus)
{
$this->registrationStatus = $registrationStatus;
return $this;
}
/**
* Get registrationStatus
*
* @return string
*/
public function getRegistrationStatus()
{
return $this->registrationStatus;
}
/**
* Set prefix
*
* @param string $prefix
*
* @return AppMobileGuest
*/
public function setPrefix($prefix)
{
$this->prefix = $prefix;
return $this;
}
/**
* Get prefix
*
* @return string
*/
public function getPrefix()
{
return $this->prefix;
}
/**
* Set city
*
* @param string $city
*
* @return AppMobileGuest
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* Get city
*
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* Set country
*
* @param string $country
*
* @return AppMobileGuest
*/
public function setCountry($country)
{
$this->country = $country;
return $this;
}
/**
* Get country
*
* @return string
*/
public function getCountry()
{
return $this->country;
}
/**
* Set company
*
* @param string $company
*
* @return AppMobileGuest
*/
public function setCompany($company)
{
$this->company = $company;
return $this;
}
/**
* Get company
*
* @return string
*/
public function getCompany()
{
return $this->company;
}
/**
* Set affiliation
*
* @param string $affiliation
*
* @return AppMobileGuest
*/
public function setAffiliation($affiliation)
{
$this->affiliation = $affiliation;
return $this;
}
/**
* Get affiliation
*
* @return string
*/
public function getAffiliation()
{
return $this->affiliation;
}
/**
* Set token
*
* @param string $token
*
* @return AppMobileGuest
*/
public function setToken($token)
{
$this->token = $token;
return $this;
}
/**
* Get token
*
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* Set telephone
*
* @param string $telephone
*
* @return AppMobileGuest
*/
public function setTelephone($telephone)
{
$this->telephone = $telephone;
return $this;
}
/**
* Get telephone
*
* @return string
*/
public function getTelephone()
{
return $this->telephone;
}
/**
* Set dni
*
* @param string $dni
*
* @return AppMobileGuest
*/
public function setDni($dni)
{
$this->dni = $dni;
return $this;
}
/**
* Get dni
*
* @return string
*/
public function getDni()
{
return $this->dni;
}
/**
* Set vip
*
* @param boolean $vip
*
* @return AppMobileGuest
*/
public function setVip($vip)
{
$this->vip = $vip;
return $this;
}
/**
* Get vip
*
* @return boolean
*/
public function getVip()
{
return $this->vip;
}
/**
* Set jobTitle
*
* @param string $jobTitle
*
* @return AppMobileGuest
*/
public function setJobTitle($jobTitle)
{
$this->jobTitle = $jobTitle;
return $this;
}
/**
* Get jobTitle
*
* @return string
*/
public function getJobTitle()
{
return $this->jobTitle;
}
/**
* Set expeditionDate
*
* @param \DateTime $expeditionDate
*
* @return AppMobileGuest
*/
public function setExpeditionDate($expeditionDate)
{
$this->expeditionDate = $expeditionDate;
return $this;
}
/**
* Get expeditionDate
*
* @return \DateTime
*/
public function getExpeditionDate()
{
return $this->expeditionDate;
}
/**
* Set expireDate
*
* @param \DateTime $expireDate
*
* @return AppMobileGuest
*/
public function setExpireDate($expireDate)
{
$this->expireDate = $expireDate;
return $this;
}
/**
* Get expireDate
*
* @return \DateTime
*/
public function getExpireDate()
{
return $this->expireDate;
}
/**
* Set birthDate
*
* @param \DateTime $birthDate
*
* @return AppMobileGuest
*/
public function setBirthDate($birthDate)
{
$this->birthDate = $birthDate;
return $this;
}
/**
* Get birthDate
*
* @return \DateTime
*/
public function getBirthDate()
{
return $this->birthDate;
}
/**
* Set postalAddress
*
* @param string $postalAddress
*
* @return AppMobileGuest
*/
public function setPostalAddress($postalAddress)
{
$this->postalAddress = $postalAddress;
return $this;
}
/**
* Get postalAddress
*
* @return string
*/
public function getPostalAddress()
{
return $this->postalAddress;
}
/**
* Set observations
*
* @param string $observations
*
* @return AppMobileGuest
*/
public function setObservations($observations)
{
$this->observations = $observations;
return $this;
}
/**
* Get observations
*
* @return string
*/
public function getObservations()
{
return $this->observations;
}
/**
* Set commercialCommunications
*
* @param boolean $commercialCommunications
*
* @return AppMobileGuest
*/
public function setCommercialCommunications($commercialCommunications)
{
$this->commercialCommunications = $commercialCommunications;
return $this;
}
/**
* Get commercialCommunications
*
* @return boolean
*/
public function getCommercialCommunications()
{
return $this->commercialCommunications;
}
/**
* Set allergens
*
* @param string $allergens
*
* @return AppMobileGuest
*/
public function setAllergens($allergens)
{
$this->allergens = $allergens;
return $this;
}
/**
* Get allergens
*
* @return string
*/
public function getAllergens()
{
return $this->allergens;
}
/**
* Set origin
*
* @param string $origin
*
* @return AppMobileGuest
*/
public function setOrigin($origin)
{
$this->origin = $origin;
return $this;
}
/**
* Get origin
*
* @return string
*/
public function getOrigin()
{
return $this->origin;
}
/**
* Set departureDate
*
* @param \DateTime $departureDate
*
* @return AppMobileGuest
*/
public function setDepartureDate($departureDate)
{
$this->departureDate = $departureDate;
return $this;
}
/**
* Get departureDate
*
* @return \DateTime
*/
public function getDepartureDate()
{
return $this->departureDate;
}
/**
* Set destination
*
* @param string $destination
*
* @return AppMobileGuest
*/
public function setDestination($destination)
{
$this->destination = $destination;
return $this;
}
/**
* Get destination
*
* @return string
*/
public function getDestination()
{
return $this->destination;
}
/**
* Set arrivalDate
*
* @param \DateTime $arrivalDate
*
* @return AppMobileGuest
*/
public function setArrivalDate($arrivalDate)
{
$this->arrivalDate = $arrivalDate;
return $this;
}
/**
* Get arrivalDate
*
* @return \DateTime
*/
public function getArrivalDate()
{
return $this->arrivalDate;
}
/**
* Set roommate
*
* @param string $roommate
*
* @return AppMobileGuest
*/
public function setRoommate($roommate)
{
$this->roommate = $roommate;
return $this;
}
/**
* Get roommate
*
* @return string
*/
public function getRoommate()
{
return $this->roommate;
}
/**
* Set department
*
* @param string $department
*
* @return AppMobileGuest
*/
public function setDepartment($department)
{
$this->department = $department;
return $this;
}
/**
* Get department
*
* @return string
*/
public function getDepartment()
{
return $this->department;
}
/**
* Set responsible
*
* @param string $responsible
*
* @return AppMobileGuest
*/
public function setResponsible($responsible)
{
$this->responsible = $responsible;
return $this;
}
/**
* Get responsible
*
* @return string
*/
public function getResponsible()
{
return $this->responsible;
}
/**
* Set team
*
* @param string $team
*
* @return AppMobileGuest
*/
public function setTeam($team)
{
$this->team = $team;
return $this;
}
/**
* Get team
*
* @return string
*/
public function getTeam()
{
return $this->team;
}
/**
* Set sendMailQr
*
* @param string $sendMailQr
*
* @return AppMobileGuest
*/
public function setSendMailQr($sendMailQr)
{
$this->sendMailQr = $sendMailQr;
return $this;
}
/**
* Get sendMailQr
*
* @return string
*/
public function getSendMailQr()
{
return $this->sendMailQr;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return AppMobileGuest
*/
public function setUpdatedAt(\Datetime $updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* @ORM\PrePersist
*/
public function setCreatedAtValue()
{
$this->createdAt = new \Datetime();
}
/**
* @ORM\PrePersist
* @ORM\PreUpdate
*/
public function setUpdatedAtValue()
{
$this->updatedAt = new \Datetime();
}
/**
* Set birthCountry
*
* @param string $birthCountry
*
* @return AppMobileGuest
*/
public function setBirthCountry($birthCountry)
{
$this->birthCountry = $birthCountry;
return $this;
}
/**
* Get birthCountry
*
* @return string
*/
public function getBirthCountry()
{
return $this->birthCountry;
}
/**
* Set hotelId
*
* @param string $hotelId
*
* @return AppMobileGuest
*/
public function setHotelId($hotelId)
{
$this->hotelId = $hotelId;
return $this;
}
/**
* Get hotelId
*
* @return string
*/
public function getHotelId()
{
return $this->hotelId;
}
/**
* Set roomNumber
*
* @param string $roomNumber
*
* @return AppMobileGuest
*/
public function setRoomNumber($roomNumber)
{
$this->roomNumber = $roomNumber;
return $this;
}
/**
* Get roomNumber
*
* @return string
*/
public function getRoomNumber()
{
return $this->roomNumber;
}
/**
* Set checkIn
*
* @param \DateTime $checkIn
*
* @return AppMobileGuest
*/
public function setCheckIn($checkIn)
{
$this->checkIn = $checkIn;
return $this;
}
/**
* Get checkIn
*
* @return \DateTime
*/
public function getCheckIn()
{
return $this->checkIn;
}
/**
* Set checkOut
*
* @param \DateTime $checkOut
*
* @return AppMobileGuest
*/
public function setCheckOut($checkOut)
{
$this->checkOut = $checkOut;
return $this;
}
/**
* Get checkOut
*
* @return \DateTime
*/
public function getCheckOut()
{
return $this->checkOut;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return AppMobileGuest
*/
public function setCreatedAt(\Datetime $createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set travel
*
* @param string $travel
*
* @return AppMobileGuest
*/
public function setTravel($travel)
{
$this->travel = $travel;
return $this;
}
/**
* Get travel
*
* @return string
*/
public function getTravel()
{
return $this->travel;
}
/**
* Set transport
*
* @param string $transport
*
* @return AppMobileGuest
*/
public function setTransport($transport)
{
$this->transport = $transport;
return $this;
}
/**
* Get transport
*
* @return string
*/
public function getTransport()
{
return $this->transport;
}
/**
* Set size
*
* @param string $size
*
* @return AppMobileGuest
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Get size
*
* @return string
*/
public function getSize()
{
return $this->size;
}
/**
* Set hotel
*
* @param string $hotel
*
* @return AppMobileGuest
*/
public function setHotel($hotel)
{
$this->hotel = $hotel;
return $this;
}
/**
* Get hotel
*
* @return string
*/
public function getHotel()
{
return $this->hotel;
}
/**
* Set dinner
*
* @param string $dinner
*
* @return AppMobileGuest
*/
public function setDinner($dinner)
{
$this->dinner = $dinner;
return $this;
}
/**
* Get dinner
*
* @return string
*/
public function getDinner()
{
return $this->dinner;
}
/**
* Set sendMailConfirmation
*
* @param string $sendMailConfirmation
*
* @return AppMobileGuest
*/
public function setSendMailConfirmation($sendMailConfirmation)
{
$this->sendMailConfirmation = $sendMailConfirmation;
return $this;
}
/**
* Get sendMailConfirmation
*
* @return string
*/
public function getSendMailConfirmation()
{
return $this->sendMailConfirmation;
}
/**
* Set attendEvent
*
* @param string $attendEvent
*
* @return AppMobileGuest
*/
public function setAttendEvent($attendEvent)
{
$this->attendEvent = $attendEvent;
return $this;
}
/**
* Get attendEvent
*
* @return string
*/
public function getAttendEvent()
{
return $this->attendEvent;
}
/**
* Set participantType
*
* @param string $participantType
*
* @return AppMobileGuest
*/
public function setParticipantType($participantType)
{
$this->participantType = $participantType;
return $this;
}
/**
* Get participantType
*
* @return string
*/
public function getParticipantType()
{
return $this->participantType;
}
/**
* Set badgePrint
*
* @param string $badgePrint
*
* @return AppMobileGuest
*/
public function setBadgePrint($badgePrint)
{
$this->badgePrint = $badgePrint;
return $this;
}
/**
* Get badgePrint
*
* @return string
*/
public function getBadgePrint()
{
return $this->badgePrint;
}
/**
* Set postalCode
*
* @param string $postalCode
*
* @return AppMobileGuest
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
return $this;
}
/**
* Get postalCode
*
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* Set sendMailInvitation
*
* @param string $sendMailInvitation
*
* @return AppMobileGuest
*/
public function setSendMailInvitation($sendMailInvitation)
{
$this->sendMailInvitation = $sendMailInvitation;
return $this;
}
/**
* Get sendMailInvitation
*
* @return string
*/
public function getSendMailInvitation()
{
return $this->sendMailInvitation;
}
/**
* Set associate
*
* @param string $associate
*
* @return AppMobileGuest
*/
public function setAssociate($associate)
{
$this->associate = $associate;
return $this;
}
/**
* Get associate
*
* @return string
*/
public function getAssociate()
{
return $this->associate;
}
/**
* Set language
*
* @param string $language
*
* @return AppMobileGuest
*/
public function setLanguage($language)
{
$this->language = $language;
return $this;
}
/**
* Get language
*
* @return string
*/
public function getLanguage()
{
return $this->language;
}
/**
* Set languageLocale
*
* @param string $languageLocale
*
* @return AppMobileGuest
*/
public function setLanguageLocale($languageLocale)
{
$this->languageLocale = $languageLocale;
return $this;
}
/**
* Get languageLocale
*
* @return string
*/
public function getLanguageLocale()
{
return $this->languageLocale;
}
/**
* Set associateId
*
* @param string $associateId
*
* @return AppMobileGuest
*/
public function setAssociateId($associateId)
{
$this->associateId = $associateId;
return $this;
}
/**
* Get associateId
*
* @return string
*/
public function getAssociateId()
{
return $this->associateId;
}
/**
* Set translations
*
* @param string $translations
*
* @return AppMobileGuest
*/
public function setTranslations($translations)
{
$this->translations = $translations;
return $this;
}
/**
* Get translations
*
* @return string
*/
public function getTranslations()
{
return $this->translations;
}
/**
* Set onSite
*
* @param boolean $onSite
*
* @return AppMobileGuest
*/
public function setOnSite($onSite)
{
$this->onSite = $onSite;
return $this;
}
/**
* Get onSite
*
* @return boolean
*/
public function getOnSite()
{
return $this->onSite;
}
public function getMobileAppUsersParent(): ?MobileAppUsers
{
return $this->MobileAppUsersParent;
}
public function setMobileAppUsersParent(?MobileAppUsers $MobileAppUsersParent): self
{
$this->MobileAppUsersParent = $MobileAppUsersParent;
return $this;
}
public function getPackageSold(): ?MobileAppPackageSold
{
return $this->packageSold;
}
public function setPackageSold(?MobileAppPackageSold $packageSold): self
{
$this->packageSold = $packageSold;
return $this;
}
}