链街Dcat后台
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.
 
 
 
 

26 lines
486 B

<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
class ImsCjdcOrder extends Model
{
use HasDateTimeFormatter;
protected $table = 'lanzu_order as order';
public $timestamps = false;
public function user()
{
return $this->hasOne('\App\Models\ImsCjdcUser','id','user_id');
}
public function store()
{
return $this->hasOne('\App\Models\LanzuStore','id','store_id');
}
}