<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class CompanyProfileMapping
{
/**
* @var int
*/
private $id;
/**
* @var bool
*/
private $isActive = true;
/**
* @var bool
*/
private $isSelected = false;
/**
* @var \DateTime
*/
private $createdAt;
/**
* @var \App\Entity\CompanyProfile
*/
private $companyProfile;
/**
* @var \App\Entity\User
*/
private $user;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set isActive.
*
* @param bool $isActive
*
* @return CompanyProfileMapping
*/
public function setIsActive($isActive)
{
$this->isActive = $isActive;
return $this;
}
/**
* Get isActive.
*
* @return bool
*/
public function getIsActive()
{
return $this->isActive;
}
/**
* Set createdAt.
*
* @param \DateTime $createdAt
*
* @return CompanyProfileMapping
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt.
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set companyProfile.
*
* @param \App\Entity\CompanyProfile|null $companyProfile
*
* @return CompanyProfileMapping
*/
public function setCompanyProfile(\App\Entity\CompanyProfile $companyProfile = null)
{
$this->companyProfile = $companyProfile;
return $this;
}
/**
* Get companyProfile.
*
* @return \App\Entity\CompanyProfile|null
*/
public function getCompanyProfile()
{
return $this->companyProfile;
}
/**
* Set user.
*
* @param \App\Entity\User|null $user
*
* @return CompanyProfileMapping
*/
public function setUser(\App\Entity\User $user = null)
{
$this->user = $user;
return $this;
}
/**
* Get user.
*
* @return \App\Entity\User|null
*/
public function getUser()
{
return $this->user;
}
/**
* Set isSelected.
*
* @param bool $isSelected
*
* @return CompanyProfileMapping
*/
public function setIsSelected($isSelected)
{
$this->isSelected = $isSelected;
return $this;
}
/**
* Get isSelected.
*
* @return bool
*/
public function getIsSelected()
{
return $this->isSelected;
}
}