'int', 'bytes' => 'int', ]; /** * @var array */ protected $dates = [ 'completed_at', ]; /** * Returns dates from this model as immutable Carbon instances. * * @param mixed $value * @return \Carbon\CarbonImmutable */ protected function asDateTime($value) { return $this->asImmutableDateTime($value); } /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function server() { return $this->belongsTo(Server::class); } }