| 123456789101112131415 |
- <?php
- /** @var \Illuminate\Database\Eloquent\Factory $factory */
- use App\OwnerPriceDirectLogisticCar;
- use Faker\Generator as Faker;
- $factory->define(OwnerPriceDirectLogisticCar::class, function (Faker $faker) {
- return [
- "owner_price_direct_logistic_id" => factory(\App\OwnerPriceDirectLogistic::class), //直发车计费ID
- "car_type_id" => factory(\App\CarType::class), //车型ID
- "base_fee" => mt_rand(6,250) / 4, //起步费
- "additional_fee" => mt_rand(6,250) / 4, //续费(元/KM)
- ];
- });
|