27 lines
413 B
PHP
27 lines
413 B
PHP
<?php
|
|
namespace app\common\model\system\merchant;
|
|
|
|
|
|
use app\common\model\BaseModel;
|
|
|
|
class MerchantQuotaRecord extends BaseModel{
|
|
|
|
public static function tablePk(): string{
|
|
return 'id';
|
|
}
|
|
|
|
public static function tableName(): string{
|
|
return 'merchant_quota_record';
|
|
}
|
|
|
|
|
|
public function merchant(){
|
|
return $this->hasOne(Merchant::class, 'mer_id', 'mer_id');
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|