'date']; public function contract() { return $this->belongsTo(Contract::class); } protected static function boot() { parent::boot(); static::creating(fn($model) => $model->created_by = auth()->id()); static::updating(fn($model) => $model->updated_by = auth()->id()); } }