You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
user_center/app/Models/CarModelT.php

64 lines
3.4 KiB

4 years ago
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* This is the model class for table "uc_car_model_t".
*
* @property $id bigint
* @property $car_series_id int
* @property $name varchar
* @property $year varchar
* @property $modelYears varchar
* @property $vehicle_type varchar
* @property $vehicle_size varchar
* @property $engine_model varchar
* @property $emission_standard varchar
* @property $displacement varchar
* @property $induction varchar
* @property $fuel_type varchar
* @property $transmission_type varchar
* @property $transmission_description varchar
* @property $gear_number varchar
* @property $front_tyre varchar
* @property $rear_tyre varchar
* @property $doors varchar
* @property $seats varchar
* @property $tuhu_code varchar
* @property $guidance_price varchar
* @property $created_at timestamp
* @property $updated_at timestamp
*/
class CarModelT extends Model
{
use HasFactory;
protected $table = 'uc_car_model_t';
public $attrs = [
'car_series_id' => ['name' => 'car_series_id', 'title' => '车系ID', 'type' => 'int', 'is_must' => '1'],
'name' => ['name' => 'name', 'title' => '名称', 'type' => 'varchar', 'is_must' => '1'],
'year' => ['name' => 'year', 'title' => '年款', 'type' => 'varchar', 'is_must' => '1'],
'modelYears' => ['name' => 'modelYears', 'title' => '生产年份', 'type' => 'varchar', 'is_must' => '0'],
'vehicle_type' => ['name' => 'vehicle_type', 'title' => '车辆类型', 'type' => 'varchar', 'is_must' => '0'],
'vehicle_size' => ['name' => 'vehicle_size', 'title' => '车辆级别', 'type' => 'varchar', 'is_must' => '0'],
'engine_model' => ['name' => 'engine_model', 'title' => '发动机型号', 'type' => 'varchar', 'is_must' => '0'],
'emission_standard' => ['name' => 'emission_standard', 'title' => '排放标准', 'type' => 'varchar', 'is_must' => '0'],
'displacement' => ['name' => 'displacement', 'title' => '排量', 'type' => 'varchar', 'is_must' => '0'],
'induction' => ['name' => 'induction', 'title' => '进气形式', 'type' => 'varchar', 'is_must' => '0'],
'fuel_type' => ['name' => 'fuel_type', 'title' => '燃油类型', 'type' => 'varchar', 'is_must' => '0'],
'transmission_type' => ['name' => 'transmission_type', 'title' => '变速器类型', 'type' => 'varchar', 'is_must' => '0'],
'transmission_description' => ['name' => 'transmission_description', 'title' => '变速器描述', 'type' => 'varchar', 'is_must' => '0'],
'gear_number' => ['name' => 'gear_number', 'title' => '档位数', 'type' => 'varchar', 'is_must' => '0'],
'front_tyre' => ['name' => 'front_tyre', 'title' => '前轮胎规格', 'type' => 'varchar', 'is_must' => '0'],
'rear_tyre' => ['name' => 'rear_tyre', 'title' => '后轮胎规格', 'type' => 'varchar', 'is_must' => '0'],
'doors' => ['name' => 'doors', 'title' => '车门数', 'type' => 'varchar', 'is_must' => '0'],
'seats' => ['name' => 'seats', 'title' => '座位数', 'type' => 'varchar', 'is_must' => '0'],
'tuhu_code' => ['name' => 'tuhu_code', 'title' => '途虎码', 'type' => 'varchar', 'is_must' => '0'],
'guidance_price' => ['name' => 'guidance_price', 'title' => '指导价', 'type' => 'varchar', 'is_must' => '0'],
];
}