public function getMsetting() { return $this->hasMany(Msetting::className(), ['clients_or_webs_id' => 'id'])->where('belong_to =:belong_to', [':belong_to' => 1])->orderBy('id'); }
public function getMsettings() { return $this->hasMany(Msetting::className(), ['messages_id' => 'messages_id']); }