<?php
namespace App\Entity;
use App\Repository\AuditHistorialPagoSubscripcionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=AuditHistorialPagoSubscripcionRepository::class)
*/
class AuditHistorialPagoSubscripcion
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
public function getId(): ?int
{
return $this->id;
}
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $curso;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $maestro;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $estudiante;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $fechaPago;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $fechaExpiracion;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $monto;
/**
* @ORM\Column(type="string", length=50)
*/
private $tipo;
/**
* @ORM\Column(type="json", nullable=true)
*/
private $detalles = [];
/**
* @ORM\Column(type="integer")
* 1 = activa
* 2 = pendiente de pago
* 3 = vencida
*/
private $estado;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $suscripcion;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $cybersourceTransLog;
}