WaybillFinancialSnapshot.php 405 B

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