<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OrderVisit extends Model
{
    protected $table ='order_visit';
    // 拒绝添加的字段
    protected $guarded = [];
    public $timestamps=false;

   /* public function orders(){
        return $this->hasOne(Orders::class,'sys_num','ov_sys')->select('id','p_id','order_num','order_time','sys_num','ser_type','ser_id','customer_id','new_customer_id','order_status','account_status','acc_status','order_account','new_money','handled_by','admin_id','service_schedule','day_time','after_type','lock_type','reminder','create_time','car_audit','kef_id','order_type','pay_type');
    }
    public function user(){
        return $this->hasOne(User::class,'id','customer_id');//->select('id','shr_name','shr_phone','shr_sheng','shr_shi','shr_xian','shr_adress','car_make','car_line','car_model');
    }*/

}
