feat : check

This commit is contained in:
2025-04-02 11:21:43 +08:00
parent 1e1182ad38
commit 3f3aab3d45
4 changed files with 48 additions and 37 deletions

View File

@@ -25,9 +25,13 @@ class PickupCode extends Model
* The attributes that are mass assignable.
*/
protected array $fillable = [];
protected array $guarded = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'order_id' => 'integer', 'copies' => 'integer'];
const string CREATED_AT = 'create_time';
const null UPDATED_AT = null;
}