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

27 lines
653 B

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_sub_brand_t".
*
* @property $id bigint
* @property $car_brand_id int
* @property $name varchar
*/
class CarSubBrandT extends Model
{
use HasFactory;
protected $table = 'uc_car_sub_brand_t';
public $timestamps = false;
public $attrs = [
'car_brand_id' => ['name' => 'car_brand_id', 'title' => '品牌ID', 'type' => 'int', 'is_must' => '1'],
'name' => ['name' => 'name', 'title' => '名称', 'type' => 'varchar', 'is_must' => '1'],
];
}