WaybillFinancialExcepted.php 343 B

123456789101112131415161718
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. use App\Traits\ModelTimeFormat;
  5. class WaybillFinancialExcepted extends Model
  6. {
  7. use ModelTimeFormat;
  8. protected $fillable=[
  9. 'waybill_id','json_content'
  10. ];
  11. public function waybill(){
  12. return $this->belongsTo('App\Waybill','waybill_id','id');
  13. }
  14. }