hasOne(SmmUserAccount::class,'id','account_id'); } public function post() { return $this->hasOne(SmmPost::class,'id','post_id'); } }