*/ use HasFactory; protected $fillable = [ 'data_structure', 'vue_component_name' ]; public function inputs(): HasMany { return $this->hasMany(ResumeComponentInput::class); } public function components(): BelongsToMany { return $this->belongsToMany(ResumeComponent::class) ->using(ResumeComponentInput::class) ->withTimestamps(); } }