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.
28 lines
755 B
28 lines
755 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* This is the model class for table "uc_car_brand_t".
|
|
*
|
|
* @property $id bigint
|
|
* @property $name varchar
|
|
* @property $logo varchar
|
|
* @property $letter varchar
|
|
*/
|
|
class CarBrandT extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'uc_car_brand_t';
|
|
public $timestamps = false;
|
|
|
|
public $attrs = [
|
|
'name' => ['name' => 'name', 'title' => '名称', 'type' => 'varchar', 'is_must' => '1'],
|
|
'logo' => ['name' => 'logo', 'title' => '图标', 'type' => 'varchar', 'is_must' => '0'],
|
|
'letter' => ['name' => 'letter', 'title' => '字母', 'type' => 'varchar', 'is_must' => '0'],
|
|
];
|
|
}
|
|
|