Files
Jack Goh 4da5cfd7be added relationship between marking and user
added billing_amount and salestax_amount to supplierbooking table
2018-07-03 09:58:06 +08:00

16 lines
228 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Marking extends Model
{
protected $fillable = ['email','marking'];
public function user()
{
return $this->belongsTo('app\User');
}
}