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";