Use Inertia like a boss
Inspect the source code of Mixjobs, and learn how to make your code clean and epic from real-world examples.
class JobData extends DataResource
{
protected $permissions = ['view', 'update'];
public function __construct(
public int $id,
public CategoryData $category,
/** @var DataCollection<SkillData> */
public DataCollection $skills,
public string $title,
public array $benefits
) {}
}