Files
exchange/app/Invoice.php
T
2020-09-03 12:31:56 +08:00

15 lines
302 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Invoice extends Model
{
protected $fillable = ['invoice_url','amount','booking_id', 'buyer_company', 'address', 'contact_no', 'po_number'];
public function booking(){
return $this->belongsTo('App\Booking');
}
}