'date', 'end_date' => 'date', 'status' => 'integer', 'settings' => 'array', ]; /** * Get the users for the company. */ public function users(): HasMany { return $this->hasMany(User::class); } /** * Get the machines for the company. */ public function machines(): HasMany { return $this->hasMany(Machine::class); } }