OwnerFeeDetailLogistic.php 439 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. use App\Traits\ModelLogChanging;
  5. class OwnerFeeDetailLogistic extends Model
  6. {
  7. use ModelLogChanging;
  8. protected $fillable=[
  9. "owner_fee_detail_id","amount","logistic_bill","volume","weight","logistic_fee","tax_fee"
  10. ];
  11. public $timestamps = false;
  12. public function logistic()
  13. { //快递
  14. return $this->belongsTo(Logistic::class);
  15. }
  16. }