to view
This commit is contained in:
27
Entities/PaymentOption.php
Normal file
27
Entities/PaymentOption.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\DailySalePaymentReportModule\Entities;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class PaymentOption extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'account_id',
|
||||
'is_active',
|
||||
'percentage',
|
||||
'type',
|
||||
'status',
|
||||
'approved_by',
|
||||
'approved_at'
|
||||
];
|
||||
|
||||
protected static function newFactory()
|
||||
{
|
||||
return \Modules\DailySalePaymentReportModule\Database\factories\PaymentOptionFactory::new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user