| 1 |
<?php |
| 2 |
|
| 3 |
namespace App\Billingo\Models\Spending; |
| 4 |
|
| 5 |
use App\Billingo\Contracts\ValidableInterface; |
| 6 |
use App\Billingo\Models\BillingoModel; |
| 7 |
use App\Billingo\Traits\WithFactory; |
| 8 |
use App\Billingo\Validation\Spending\SpendingSaveValidator; |
| 9 |
|
| 10 |
/** |
| 11 |
* @property string $currency |
| 12 |
* @property float $conversion_rate |
| 13 |
* @property float $total_gross |
| 14 |
* @property float $total_gross_huf |
| 15 |
* @property float $total_vat_amount |
| 16 |
* @property float $total_vat_amount_huf |
| 17 |
* @property string $fulfillment_date |
| 18 |
* @property string $paid_at |
| 19 |
* @property string $category |
| 20 |
* @property string $comment |
| 21 |
* @property string $invoice_number |
| 22 |
* @property string $invoice_date |
| 23 |
* @property string $due_date |
| 24 |
* @property string $payment_method |
| 25 |
* @property int $partner_id |
| 26 |
*/ |
| 27 |
class SpendingSave extends BillingoModel |
| 28 |
{ |
| 29 |
use WithFactory; |
| 30 |
|
| 31 |
protected function getValidator(): ValidableInterface |
| 32 |
{ |
| 33 |
return new SpendingSaveValidator(); |
| 34 |
} |
| 35 |
} |
| 36 |
|