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

35 lines
1.2 KiB

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* This is the model class for table "uc_car_man_t".
*
* @property $id bigint
* @property $car_id bigint
* @property $type tinyint
* @property $name varchar
* @property $phone varchar
* @property $id_card_type tinyint
* @property $id_card varchar
* @property $created_at timestamp
* @property $updated_at timestamp
*/
class CarManT extends Model
{
use HasFactory;
protected $table = 'uc_car_man_t';
public $attrs = [
'car_id' => ['name' => 'car_id', 'title' => '车辆ID', 'type' => 'bigint', 'is_must' => '1'],
'type' => ['name' => 'type', 'title' => '联系人类型', 'type' => 'tinyint', 'is_must' => '0'],
'name' => ['name' => 'name', 'title' => '姓名', 'type' => 'varchar', 'is_must' => '1'],
'phone' => ['name' => 'phone', 'title' => '手机号', 'type' => 'varchar', 'is_must' => '1'],
'id_card_type' => ['name' => 'id_card_type', 'title' => '证件类型', 'type' => 'tinyint', 'is_must' => '0'],
'id_card' => ['name' => 'id_card', 'title' => '证件号', 'type' => 'varchar', 'is_must' => '1'],
];
}