<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Creditcards
*/
#[ORM\Table(name: 'creditCards')]
#[ORM\Index(name: 'authnetError', columns: ['authnetError'])]
#[ORM\Index(name: 'ccNum', columns: ['ccNum'])]
#[ORM\Index(name: 'studentId', columns: ['studentId'])]
#[ORM\Entity(repositoryClass: 'App\Repository\CreditCardsRepository')]
class Creditcards
{
/**
* @var int
*/
#[ORM\Column(name: 'id', type: 'integer', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private $id;
/**
* @var int|null
*/
#[ORM\Column(name: 'studentId', type: 'integer', nullable: true)]
private $studentid;
/**
* @var int|null
*/
#[ORM\Column(name: 'schoolId', type: 'integer', nullable: true)]
private $schoolid;
/**
* @var string|null
*/
#[ORM\Column(name: 'ccNum', type: 'string', length: 20, nullable: true)]
private $ccnum;
/**
* @var string|null
*/
#[ORM\Column(name: 'ccCimId', type: 'string', length: 20, nullable: true)]
private $cccimid;
/**
* @var bool|null
*/
#[ORM\Column(name: 'authnetError', type: 'boolean', nullable: true)]
private $authneterror;
/**
* @var string|null
*/
#[ORM\Column(name: 'status', type: 'string', length: 255, nullable: true)]
private $status;
/**
* @var int|null
*/
#[ORM\Column(name: 'ccType', type: 'integer', nullable: true)]
private $cctype;
/**
* @var string|null
*/
#[ORM\Column(name: 'cc4digits', type: 'string', length: 8, nullable: true)]
private $cc4digits;
/**
* @var int|null
*/
#[ORM\Column(name: 'ccExpMonth', type: 'integer', nullable: true)]
private $ccexpmonth;
/**
* @var int|null
*/
#[ORM\Column(name: 'ccExpYear', type: 'integer', nullable: true)]
private $ccexpyear;
/**
* @var string|null
*/
#[ORM\Column(name: 'ccName', type: 'string', length: 100, nullable: true)]
private $ccname;
/**
* @var string|null
*/
#[ORM\Column(name: 'billingAddress', type: 'string', length: 250, nullable: true)]
private $billingaddress;
/**
* @var string|null
*/
#[ORM\Column(name: 'billingCity', type: 'string', length: 80, nullable: true)]
private $billingcity;
/**
* @var string|null
*/
#[ORM\Column(name: 'billingState', type: 'string', length: 80, nullable: true)]
private $billingstate;
/**
* @var string|null
*/
#[ORM\Column(name: 'billingZip', type: 'string', length: 12, nullable: true)]
private $billingzip;
/**
* @var string|null
*/
#[ORM\Column(name: 'billingCountry', type: 'string', length: 80, nullable: true)]
private $billingcountry;
/**
* @var string|null
*/
#[ORM\Column(name: 'createdOn', type: 'string', length: 100, nullable: true)]
private $createdon;
/**
* @var \DateTime|null
*/
#[ORM\Column(name: 'lastChange', type: 'date', nullable: true)]
private $lastchange;
/**
* @var string|null
*/
#[ORM\Column(name: 'createdBy', type: 'string', length: 100, nullable: true)]
private $createdby;
/**
* @var string|null
*/
#[ORM\Column(name: 'lastChangeBy', type: 'string', length: 100, nullable: true)]
private $lastchangeby;
public function getId(): ?int
{
return $this->id;
}
public function getStudentid(): ?int
{
return $this->studentid;
}
public function setStudentid(?int $studentid): self
{
$this->studentid = $studentid;
return $this;
}
public function getSchoolid(): ?int
{
return $this->schoolid;
}
public function setSchoolid(?int $schoolid): self
{
$this->schoolid = $schoolid;
return $this;
}
public function getCcnum(): ?string
{
return $this->ccnum;
}
public function setCcnum(?string $ccnum): self
{
$this->ccnum = $ccnum;
return $this;
}
public function getCccimid(): ?string
{
return $this->cccimid;
}
public function setCccimid(?string $cccimid): self
{
$this->cccimid = $cccimid;
return $this;
}
public function getAuthneterror(): ?bool
{
return $this->authneterror;
}
public function setAuthneterror(?bool $authneterror): self
{
$this->authneterror = $authneterror;
return $this;
}
public function getStatus(): ?string
{
return $this->status;
}
public function setStatus(?string $status): self
{
$this->status = $status;
return $this;
}
public function getCctype(): ?int
{
return $this->cctype;
}
public function setCctype(?int $cctype): self
{
$this->cctype = $cctype;
return $this;
}
public function getCc4digits(): ?string
{
return $this->cc4digits;
}
public function setCc4digits(?string $cc4digits): self
{
$this->cc4digits = $cc4digits;
return $this;
}
public function getCcexpmonth(): ?int
{
return $this->ccexpmonth;
}
public function setCcexpmonth(?int $ccexpmonth): self
{
$this->ccexpmonth = $ccexpmonth;
return $this;
}
public function getCcexpyear(): ?int
{
return $this->ccexpyear;
}
public function setCcexpyear(?int $ccexpyear): self
{
$this->ccexpyear = $ccexpyear;
return $this;
}
public function getCcname(): ?string
{
return $this->ccname;
}
public function setCcname(?string $ccname): self
{
$this->ccname = $ccname;
return $this;
}
public function getBillingaddress(): ?string
{
return $this->billingaddress;
}
public function setBillingaddress(?string $billingaddress): self
{
$this->billingaddress = $billingaddress;
return $this;
}
public function getBillingcity(): ?string
{
return $this->billingcity;
}
public function setBillingcity(?string $billingcity): self
{
$this->billingcity = $billingcity;
return $this;
}
public function getBillingstate(): ?string
{
return $this->billingstate;
}
public function setBillingstate(?string $billingstate): self
{
$this->billingstate = $billingstate;
return $this;
}
public function getBillingzip(): ?string
{
return $this->billingzip;
}
public function setBillingzip(?string $billingzip): self
{
$this->billingzip = $billingzip;
return $this;
}
public function getBillingcountry(): ?string
{
return $this->billingcountry;
}
public function setBillingcountry(?string $billingcountry): self
{
$this->billingcountry = $billingcountry;
return $this;
}
public function getCreatedon(): ?string
{
return $this->createdon;
}
public function setCreatedon(?string $createdon): self
{
$this->createdon = $createdon;
return $this;
}
public function getLastchange(): ?\DateTimeInterface
{
return $this->lastchange;
}
public function setLastchange(?\DateTimeInterface $lastchange): self
{
$this->lastchange = $lastchange;
return $this;
}
public function getCreatedby(): ?string
{
return $this->createdby;
}
public function setCreatedby(?string $createdby): self
{
$this->createdby = $createdby;
return $this;
}
public function getLastchangeby(): ?string
{
return $this->lastchangeby;
}
public function setLastchangeby(?string $lastchangeby): self
{
$this->lastchangeby = $lastchangeby;
return $this;
}
}