Files
lelong/app/Models/Invoice.php
T
2022-08-09 09:32:24 +08:00

24 lines
452 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Invoice extends Model
{
use HasFactory;
protected $table = 'invoice';
protected $fillable = [
'user_id',
'lelong_id',
'invoice_no',
'total_invoice',
'invoice_type', // 1 = fee , 2 = bid
'status', //status => 1 = paid , 2 = pending
'paid_at'
];
}