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