<?php
namespace App\MDS\AvexpressBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* AvePackageTemplate
*
* @ORM\Table(name="ave_package_template")
* @ORM\Entity(repositoryClass="App\MDS\AvexpressBundle\Repository\AvePackageTemplateRepository")
*/
class AvePackageTemplate
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(name="total_net_price", type="float")
* Precio Neto del Paquete
*/
private $totalNetPrice;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="datetime")
*/
private $createdAt;
/**
* @var string
*
* @ORM\Column(name="createdId", type="string", length=255)
*/
private $createdId;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="datetime")
*/
private $updatedAt;
/**
* @var string
*
* @ORM\Column(name="updatedId", type="string", length=255)
*/
private $updatedId;
/**
* @var int
*
* Id en la tabla productFile, si es nulo pertenece a una plantilla
* @ORM\Column(name="aveProductFileId", type="integer", nullable=true)
*
*/
private $aveProductFileId;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
*
* @return AvePackageTemplate
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set description
*
* @param string $description
*
* @return AvePackageTemplate
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return AvePackageTemplate
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set createdId
*
* @param string $createdId
*
* @return AvePackageTemplate
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return string
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return AvePackageTemplate
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set updatedId
*
* @param string $updatedId
*
* @return AvePackageTemplate
*/
public function setUpdatedId($updatedId)
{
$this->updatedId = $updatedId;
return $this;
}
/**
* Get updatedId
*
* @return string
*/
public function getUpdatedId()
{
return $this->updatedId;
}
public function getTotalNetPrice(): ?float
{
return $this->totalNetPrice;
}
public function setTotalNetPrice(float $totalNetPrice): self
{
$this->totalNetPrice = $totalNetPrice;
return $this;
}
/**
* Set aveProductFileId
*
* @param integer $aveProductFileId
*
* @return AvePackageTemplate
*/
public function setAveProductFileId($aveProductFileId)
{
$this->aveProductFileId = $aveProductFileId;
return $this;
}
/**
* Get aveProductFileId
*
* @return integer
*/
public function getAveProductFileId()
{
return $this->aveProductFileId;
}
}