Files
lelong/app/Models/Invoice.php
T
2022-11-14 19:54:16 +08:00

23 lines
432 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 = [
'invoice_no',
'total_invoice',
'invoice_type', // 1 = fee , 2 = bid
'status', //status => 1 = paid , 2 = pending
'opencash',
'paid_at'
];
}