3, self::TERM_SOURCE => 10]; protected $fillable = ['channel_uid', 'kind', 'target_uid', 'position']; protected function casts(): array { return ['position' => 'integer']; } public function target(): BelongsTo { return $this->belongsTo(Channel::class, 'target_uid', 'uid'); } }