| 123456789101112131415161718 |
- <?php
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- class OwnerPriceDirectLogistic extends Model
- {
- protected $fillable = [
- "name", //名称
- "base_km" //起步公里数
- ];
- public function ownerPriceDirectLogisticCars()
- { //直发车计费对应车型费
- return $this->hasMany(OwnerPriceDirectLogisticCar::class,"owner_price_direct_logistic_id","id");
- }
- }
|