*/ protected $fillable = [ 'line', 'rack', 'shelf', 'position', ]; /** * Get the full position string. * * @return string */ public function getFullPositionAttribute(): string { return "{$this->line}-{$this->rack}-{$this->shelf}-{$this->position}"; } }