You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
503 B
18 lines
503 B
<?php
|
|
|
|
namespace App\Livewire\Forms\Academic;
|
|
|
|
use Livewire\Attributes\Validate;
|
|
use Livewire\Form;
|
|
|
|
class FacultyForm extends Form
|
|
{
|
|
#[Validate('required|string|max:255', as: 'domains/academic/field.faculty.name')]
|
|
public string $name = '';
|
|
|
|
#[Validate('required|string|max:255', as: 'domains/academic/field.faculty.code')]
|
|
public string $code = '';
|
|
|
|
#[Validate('nullable|string|max:255', as: 'domains/academic/field.faculty.external_id')]
|
|
public ?string $external_id = null;
|
|
}
|
|
|