| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace Webkul\Sales\Models;
- use Illuminate\Database\Eloquent\Factories\Factory;
- use Illuminate\Database\Eloquent\Factories\HasFactory;
- use Illuminate\Database\Eloquent\Model;
- use Webkul\Sales\Contracts\OrderPayment as OrderPaymentContract;
- use Webkul\Sales\Database\Factories\OrderPaymentFactory;
- class OrderPayment extends Model implements OrderPaymentContract
- {
- use HasFactory;
- protected $table = 'order_payment';
- protected $guarded = [
- 'id',
- 'created_at',
- 'updated_at',
- ];
- protected $casts = [
- 'additional' => 'array',
- ];
- /**
- * Create a new factory instance for the model.
- */
- protected static function newFactory(): Factory
- {
- return OrderPaymentFactory::new();
- }
- }
|