From 41be423953140d0d42c6aa6db474f2d976fee223 Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Sun, 27 Apr 2025 00:18:24 +0000 Subject: [PATCH] bug fix --- hesabixCore/src/Entity/HesabdariRow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hesabixCore/src/Entity/HesabdariRow.php b/hesabixCore/src/Entity/HesabdariRow.php index a018b0e..885bd80 100644 --- a/hesabixCore/src/Entity/HesabdariRow.php +++ b/hesabixCore/src/Entity/HesabdariRow.php @@ -59,7 +59,7 @@ class HesabdariRow #[Ignore] private ?Commodity $commodity = null; - #[ORM\Column(length: 255, nullable: true)] + #[ORM\Column(type: Types::DECIMAL, precision: 20, scale: 0, nullable: true)] private ?int $commdityCount = null; #[ORM\ManyToOne(inversedBy: 'hesabdariRows')]