'车主', 2 => '被保险人', 3 => '联系人']; return [ 'id' => $this->id, 'car_id' => $this->car_id, 'type' => $this->type, 'type_txt' => $type_txt[$this->type], 'name' => $this->name, 'phone' => $this->phone, 'id_card_type' => $this->id_card_type, 'id_card' => $this->id_card, 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, ]; } }