feat : check

This commit is contained in:
2025-04-01 15:12:52 +08:00
parent d1f3c33a02
commit d1a7efd5bb
3 changed files with 12 additions and 0 deletions

View File

@@ -25,9 +25,13 @@ class SalesmanTakePhoto 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', 'cycle_id' => 'integer', 'user_id' => 'integer', 'image_id' => 'integer'];
const string CREATED_AT = 'create_time';
const null UPDATED_AT = null;
}