src/Entity/IncomeExpense.php line 10
<?phpnamespace App\Entity;use App\Repository\IncomeExpenseRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: IncomeExpenseRepository::class)]class IncomeExpense{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 8, nullable: true)]private ?string $Category = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $CreatedAt = null;#[ORM\ManyToOne]private ?User $CreatedBy = null;#[ORM\ManyToOne]private ?LawOffice $LawOffice = null;#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: '0', nullable: true)]private ?string $Amount = null;#[ORM\Column(nullable: true)]private ?int $Source = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $Comments = null;#[ORM\ManyToOne(inversedBy: 'incomeExpenses')]private ?TheCase $TheCase = null;public function getId(): ?int{return $this->id;}public function getCategory(): ?string{return $this->Category;}public function setCategory(?string $Category): self{$this->Category = $Category;return $this;}public function getCreatedAt(): ?\DateTimeInterface{return $this->CreatedAt;}public function setCreatedAt(?\DateTimeInterface $CreatedAt): self{$this->CreatedAt = $CreatedAt;return $this;}public function getCreatedBy(): ?User{return $this->CreatedBy;}public function setCreatedBy(?User $CreatedBy): self{$this->CreatedBy = $CreatedBy;return $this;}public function getLawOffice(): ?LawOffice{return $this->LawOffice;}public function setLawOffice(?LawOffice $LawOffice): self{$this->LawOffice = $LawOffice;return $this;}public function getAmount(): ?string{return $this->Amount;}public function setAmount(?string $Amount): self{$this->Amount = $Amount;return $this;}public function getSource(): ?int{return $this->Source;}public function setSource(?int $Source): self{$this->Source = $Source;return $this;}public function getComments(): ?string{return $this->Comments;}public function setComments(?string $Comments): self{$this->Comments = $Comments;return $this;}public function getTheCase(): ?TheCase{return $this->TheCase;}public function setTheCase(?TheCase $TheCase): self{$this->TheCase = $TheCase;return $this;}}