<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * This is the model class for table "uc_car_info_t".
 *
 * @property $id bigint
 * @property $car_no varchar
 * @property $frame_no varchar
 * @property $engine_no varchar
 * @property $factory_model varchar
 * @property $car_used_type varchar
 * @property $car_man varchar
 * @property $purchase_price varchar
 * @property $register_date varchar
 * @property $seat_count varchar
 * @property $insurance_times tinyint
 * @property $insurance_serial_times tinyint
 * @property $repair_times tinyint
 * @property $insurance_repair_times tinyint
 * @property $last_insurance_company varchar
 * @property $last_insurance_type varchar
 * @property $last_insurance_rate tinyint
 * @property $last_insurance_salesman varchar
 * @property $last_insurance_date varchar
 * @property $force_expire_date varchar
 * @property $business_expire_date varchar
 * @property $status tinyint
 * @property $created_at timestamp
 * @property $updated_at timestamp
 */
class CarInfoT extends Model
{
    use HasFactory;

    protected $table = 'uc_car_info_t';

    public $attrs = [
        'car_no' => ['name' => 'car_no', 'title' => '车牌号', 'type' => 'varchar', 'is_must' => '1'], 
        'frame_no' => ['name' => 'frame_no', 'title' => '车架号', 'type' => 'varchar', 'is_must' => '1'], 
        'engine_no' => ['name' => 'engine_no', 'title' => '发动机号', 'type' => 'varchar', 'is_must' => '0'], 
        'factory_model' => ['name' => 'factory_model', 'title' => '厂牌型号', 'type' => 'varchar', 'is_must' => '0'], 
        'car_used_type' => ['name' => 'car_used_type', 'title' => '车辆使用性质', 'type' => 'varchar', 'is_must' => '0'], 
        'car_man' => ['name' => 'car_man', 'title' => '车主姓名', 'type' => 'varchar', 'is_must' => '0'], 
        'purchase_price' => ['name' => 'purchase_price', 'title' => '新车购置价', 'type' => 'varchar', 'is_must' => '0'], 
        'register_date' => ['name' => 'register_date', 'title' => '初登日期', 'type' => 'varchar', 'is_must' => '0'], 
        'seat_count' => ['name' => 'seat_count', 'title' => '座位数', 'type' => 'varchar', 'is_must' => '0'], 
        'insurance_times' => ['name' => 'insurance_times', 'title' => '投保次数', 'type' => 'tinyint', 'is_must' => '0'], 
        'insurance_serial_times' => ['name' => 'insurance_serial_times', 'title' => '连续投保次数', 'type' => 'tinyint', 'is_must' => '0'], 
        'repair_times' => ['name' => 'repair_times', 'title' => '维修次数', 'type' => 'tinyint', 'is_must' => '0'], 
        'insurance_repair_times' => ['name' => 'insurance_repair_times', 'title' => '回修次数', 'type' => 'tinyint', 'is_must' => '0'], 
        'last_insurance_company' => ['name' => 'last_insurance_company', 'title' => '上年承保公司', 'type' => 'varchar', 'is_must' => '0'], 
        'last_insurance_type' => ['name' => 'last_insurance_type', 'title' => '上年承保险种', 'type' => 'varchar', 'is_must' => '0'], 
        'last_insurance_rate' => ['name' => 'last_insurance_rate', 'title' => '上年保险折扣率', 'type' => 'tinyint', 'is_must' => '0'], 
        'last_insurance_salesman' => ['name' => 'last_insurance_salesman', 'title' => '上年保险业务', 'type' => 'varchar', 'is_must' => '0'], 
        'last_insurance_date' => ['name' => 'last_insurance_date', 'title' => '上年正本日期', 'type' => 'varchar', 'is_must' => '0'], 
        'force_expire_date' => ['name' => 'force_expire_date', 'title' => '交强到期日期', 'type' => 'varchar', 'is_must' => '0'], 
        'business_expire_date' => ['name' => 'business_expire_date', 'title' => '商业到期日期', 'type' => 'varchar', 'is_must' => '0'], 
        'status' => ['name' => 'status', 'title' => '数据状态', 'type' => 'tinyint', 'is_must' => '0'], 
    ];
}