src/Entity/Pay.php line 10
<?phpnamespace App\Entity;use App\Repository\PayRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: PayRepository::class)]class Pay{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column(type: 'integer')]private ?int $id = null;#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 2)]private ?string $amount = null;#[ORM\Column(type: 'date', nullable: true)]private $dateOfPayment;#[ORM\Column]private ?bool $status = null;#[ORM\ManyToOne(inversedBy: 'pays')]private ?Entreprise $marchand = null;#[ORM\Column(length: 50, nullable: true)]private ?string $cashIn = null;#[ORM\Column(length: 50, nullable: true)]private ?string $code = null;#[ORM\Column(nullable: true)]private ?bool $notif = null;#[ORM\ManyToOne(cascade: ['all'], fetch: 'EAGER', inversedBy: 'pays')]private ?Payment $payment = null;#[ORM\ManyToOne(inversedBy: 'pays')]private ?PaymentMode $paymentmode = null;#[ORM\Column(length: 25, nullable: true)]private ?string $currency = null;#[ORM\Column(length: 50, nullable: true)]private ?string $month = null;#[ORM\Column(length: 50, nullable: true)]private ?string $year = null;#[ORM\Column(length: 100, nullable: true)]private ?string $depositor = null;#[ORM\Column(length: 50, nullable: true)]private ?string $mode = null;/*** @return int|null*/public function getId(): ?int{return $this->id;}/*** @param int|null $id*/public function setId(?int $id): void{$this->id = $id;}/*** @return string|null*/public function getAmount(): ?string{return $this->amount;}/*** @param string|null $amount*/public function setAmount(?string $amount): void{$this->amount = $amount;}/*** @return mixed*/public function getDateOfPayment(){return $this->dateOfPayment;}/*** @param mixed $dateOfPayment*/public function setDateOfPayment($dateOfPayment): void{$this->dateOfPayment = $dateOfPayment;}/*** @return bool|null*/public function getStatus(): ?bool{return $this->status;}/*** @param bool|null $status*/public function setStatus(?bool $status): void{$this->status = $status;}/*** @return Entreprise|null*/public function getMarchand(): ?Entreprise{return $this->marchand;}/*** @param Entreprise|null $marchand*/public function setMarchand(?Entreprise $marchand): void{$this->marchand = $marchand;}public function getCashIn(): ?string{return $this->cashIn;}public function setCashIn(?string $cashIn): static{$this->cashIn = $cashIn;return $this;}public function getCode(): ?string{return $this->code;}public function setCode(?string $code): static{$this->code = $code;return $this;}public function isNotif(): ?bool{return $this->notif;}public function setNotif(?bool $notif): static{$this->notif = $notif;return $this;}public function getPayment(): ?Payment{return $this->payment;}public function setPayment(?Payment $payment): static{$this->payment = $payment;return $this;}public function getPaymentmode(): ?PaymentMode{return $this->paymentmode;}public function setPaymentmode(?PaymentMode $paymentmode): static{$this->paymentmode = $paymentmode;return $this;}public function getCurrency(): ?string{return $this->currency;}public function setCurrency(?string $currency): static{$this->currency = $currency;return $this;}public function getMonth(): ?string{return $this->month;}public function setMonth(?string $month): static{$this->month = $month;return $this;}public function getYear(): ?string{return $this->year;}public function setYear(?string $year): static{$this->year = $year;return $this;}public function getDepositor(): ?string{return $this->depositor;}public function setDepositor(?string $depositor): static{$this->depositor = $depositor;return $this;}public function getMode(): ?string{return $this->mode;}public function setMode(?string $mode): static{$this->mode = $mode;return $this;}}