| 1 |
<?php |
| 2 |
|
| 3 |
namespace App\Billingo\Models\DocumentBlock; |
| 4 |
|
| 5 |
use App\Billingo\Contracts\ValidableInterface; |
| 6 |
use App\Billingo\Models\BillingoModel; |
| 7 |
use App\Billingo\Traits\WithFactory; |
| 8 |
use App\Billingo\Validation\DocumentBlock\DocumentBlockValidator; |
| 9 |
|
| 10 |
/** |
| 11 |
* @property int $id |
| 12 |
* @property string $name |
| 13 |
* @property string $prefix |
| 14 |
* @property string $custom_field1 |
| 15 |
* @property string $custom_field2 |
| 16 |
* @property string $type |
| 17 |
*/ |
| 18 |
class DocumentBlock extends BillingoModel |
| 19 |
{ |
| 20 |
use WithFactory; |
| 21 |
|
| 22 |
protected function getValidator(): ValidableInterface |
| 23 |
{ |
| 24 |
return new DocumentBlockValidator(); |
| 25 |
} |
| 26 |
} |
| 27 |
|