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/CarSeriesT.php

53 lines
2.8 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_series_t".
*
* @property $id bigint
* @property $car_sub_brand_id int
* @property $name varchar
* @property $series varchar
* @property $level varchar
* @property $externalPanelPrice decimal
* @property $internalPanelPrice decimal
* @property $externalPaintPrice decimal
* @property $internalPaintPrice decimal
* @property $externalUnderPrice decimal
* @property $internalUnderPrice decimal
* @property $externalPolishPrice decimal
* @property $internalPolishPrice decimal
* @property $externalRepairPrice decimal
* @property $internalRepairPrice decimal
* @property $externalOutreachPrice decimal
*/
class CarSeriesT extends Model
{
use HasFactory;
protected $table = 'uc_car_series_t';
public $timestamps = false;
public $attrs = [
'car_sub_brand_id' => ['name' => 'car_sub_brand_id', 'title' => '厂家ID', 'type' => 'int', 'is_must' => '1'],
'name' => ['name' => 'name', 'title' => '名称', 'type' => 'varchar', 'is_must' => '1'],
'series' => ['name' => 'series', 'title' => '系列', 'type' => 'varchar', 'is_must' => '0'],
'level' => ['name' => 'level', 'title' => '等级', 'type' => 'varchar', 'is_must' => '0'],
'externalPanelPrice' => ['name' => 'externalPanelPrice', 'title' => '钣金外工时费', 'type' => 'decimal', 'is_must' => '0'],
'internalPanelPrice' => ['name' => 'internalPanelPrice', 'title' => '钣金内工时费', 'type' => 'decimal', 'is_must' => '0'],
'externalPaintPrice' => ['name' => 'externalPaintPrice', 'title' => '喷漆外工时费', 'type' => 'decimal', 'is_must' => '0'],
'internalPaintPrice' => ['name' => 'internalPaintPrice', 'title' => '喷漆内工时费', 'type' => 'decimal', 'is_must' => '0'],
'externalUnderPrice' => ['name' => 'externalUnderPrice', 'title' => '中涂外工时费', 'type' => 'decimal', 'is_must' => '0'],
'internalUnderPrice' => ['name' => 'internalUnderPrice', 'title' => '中涂内工时费', 'type' => 'decimal', 'is_must' => '0'],
'externalPolishPrice' => ['name' => 'externalPolishPrice', 'title' => '美容外工时费', 'type' => 'decimal', 'is_must' => '0'],
'internalPolishPrice' => ['name' => 'internalPolishPrice', 'title' => '美容内工时费', 'type' => 'decimal', 'is_must' => '0'],
'externalRepairPrice' => ['name' => 'externalRepairPrice', 'title' => '机电外工时费', 'type' => 'decimal', 'is_must' => '0'],
'internalRepairPrice' => ['name' => 'internalRepairPrice', 'title' => '机电内工时费', 'type' => 'decimal', 'is_must' => '0'],
'externalOutreachPrice' => ['name' => 'externalOutreachPrice', 'title' => '外联工时费', 'type' => 'decimal', 'is_must' => '0'],
];
}