'immutable_date', 'nb_calls' => 'int', ]; /** * The model's attributes. * * @var array */ protected $attributes = [ 'nb_calls' => 0 ]; // * RELATIONS /** * Get the Service that owns the ServiceStat * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function service(): BelongsTo { return $this->belongsTo(Service::class); } }