| 1 | <?php |
||
| 6 | class MethodDeliveryPayment extends Repository |
||
| 7 | { |
||
| 8 | use HasTranslations,ActivateableTrait; |
||
| 9 | |||
| 10 | public $translationModel = MethodDeliveryPaymentTransaltion::class; |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $table = 'method_delivery_payment'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | |||
| 20 | protected $fillable = ['active','type','ico']; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | public $translatedAttributes = ['name']; |
||
| 26 | |||
| 27 | public function getImageAttribute($value) |
||
| 34 | |||
| 35 | public function delete(){ |
||
| 44 | } |
||
| 45 |