new-admin-api/app/common/model/store/service/StoreServiceReply.php

30 lines
483 B
PHP

<?php
namespace app\common\model\store\service;
use app\common\model\BaseModel;
use app\common\model\system\merchant\Merchant;
class StoreServiceReply extends BaseModel
{
public static function tablePk(): ?string
{
return 'service_reply_id';
}
public static function tableName(): string
{
return 'store_service_reply';
}
public function merchant()
{
return $this->hasOne(Merchant::class, 'mer_id', 'mer_id');
}
}