This commit is contained in:
2023-02-25 10:24:32 +08:00
parent 0b5ac0a225
commit d44a591e84
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class DiseaseClassExpertise extends Model
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['expertise_id' => 'integer', 'expertise_sort' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
protected array $casts = ['expertise_id' => 'string', 'expertise_sort' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
protected string $primaryKey = "expertise_id";