From 70f1709bd080d04f40713519f8f21d105e0804f9 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Fri, 6 Feb 2026 14:33:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=EF=BC=9A=E5=96=AE=E4=BD=8D?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=B8=AD=E7=9A=84=E4=BB=A3=E7=A2=BC=20(code)?= =?UTF-8?q?=20=E7=84=A1=E6=B3=95=E5=84=B2=E5=AD=98=E7=9A=84=E5=95=8F?= =?UTF-8?q?=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Modules/Inventory/Models/Unit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Modules/Inventory/Models/Unit.php b/app/Modules/Inventory/Models/Unit.php index f7c8bb9..c1828a0 100644 --- a/app/Modules/Inventory/Models/Unit.php +++ b/app/Modules/Inventory/Models/Unit.php @@ -12,7 +12,7 @@ class Unit extends Model { use HasFactory, LogsActivity; - protected $fillable = ['name', 'abbreviation']; + protected $fillable = ['name', 'code']; public function productsAsBase(): HasMany {