From 0b5ac0a225807919e59adb0ac9b85aa36e3976a4 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Sat, 25 Feb 2023 10:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=BF=94=E5=9B=9E=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/DoctorBankCard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/DoctorBankCard.php b/app/Model/DoctorBankCard.php index 4896891..eb44b9c 100644 --- a/app/Model/DoctorBankCard.php +++ b/app/Model/DoctorBankCard.php @@ -46,7 +46,7 @@ class DoctorBankCard extends Model /** * The attributes that should be cast to native types. */ - protected array $casts = ['bank_card_id' => 'integer', 'doctor_id' => 'integer', 'bank_id' => 'integer', 'province_id' => 'integer', 'city_id' => 'integer', 'county_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime']; + protected array $casts = ['bank_card_id' => 'string', 'doctor_id' => 'string', 'bank_id' => 'string', 'province_id' => 'integer', 'city_id' => 'integer', 'county_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime']; protected string $primaryKey = "bank_card_id";