<?php
declare(strict_types=1);
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="ps_refund_aviso")
*
* @ORM\Entity(repositoryClass="App\Repository\System\RefundNoticeRepository")
*/
class RefundNotice
{
/**
* @ORM\Id()
*
* @ORM\GeneratedValue(strategy="AUTO")
*
* @ORM\Column(name="id_aviso", type="integer")
*/
private ?int $id = null;
/**
* @ORM\ManyToOne (targetEntity="App\Entity\System\Customer")
*
* @ORM\JoinColumn(name="id_customer", referencedColumnName="id_customer", nullable=false)
*/
private Customer $customer;
/**
* @var float
*
* @ORM\Column(name="importe", type="float", nullable=false, options={"default" : 0.000000})
*/
private float $importe = 0.0;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private ?\DateTime $dateLast = null;
public function getId(): ?int
{
return $this->id;
}
public function getCustomer(): Customer
{
return $this->customer;
}
public function setCustomer(Customer $customer): RefundNotice
{
$this->customer = $customer;
return $this;
}
public function getImporte(): float
{
return $this->importe;
}
public function setImporte(float $importe): RefundNotice
{
$this->importe = $importe;
return $this;
}
public function getDateLast(): \DateTime
{
return $this->dateLast;
}
public function setDateLast(\DateTime $dateLast): RefundNotice
{
$this->dateLast = $dateLast;
return $this;
}
}