链街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.
 
 
 
 

22 lines
502 B

<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use App\Models\StoreAccount;
class ImsCjdcStore extends Model
{
use HasDateTimeFormatter;
protected $table = 'lanzu_store';
public $timestamps = false;
public function market(){
return $this->hasOne('\App\Models\ImsCjdcMarket','id','market_id');
}
public function storeAccount(){
return $this->hasMany(StoreAccount::class,'store_id','id');
}
}