25 lines
477 B
PHP
25 lines
477 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Order\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Modules\Order\Database\Factories\OrderFactory;
|
||
|
|
||
|
class Order extends Model
|
||
|
{
|
||
|
use HasFactory;
|
||
|
|
||
|
/**
|
||
|
* The attributes that are mass assignable.
|
||
|
*/
|
||
|
protected $table = 'tbl_orders';
|
||
|
|
||
|
protected $guarded = [];
|
||
|
|
||
|
protected static function newFactory(): OrderFactory
|
||
|
{
|
||
|
//return OrderFactory::new();
|
||
|
}
|
||
|
}
|