| 123456789101112131415161718192021 |
- <?php
- namespace App;
- use App\Traits\ModelTimeFormat;
- use Illuminate\Database\Eloquent\Model;
- use App\Traits\ModelLogChanging;
- class ProcurementTotalBill extends Model
- {
- use ModelLogChanging;
- use ModelTimeFormat;
- protected $fillable=[
- 'counting_month','supplier_id','status'
- ];
- public function supplier(){
- return $this->belongsTo('App\Supplier','supplier_id','id');
- }
- }
|