public function getMscs() { return $this->hasMany(MMarketingServiceCenter::className(), ['region_id' => 'id']); }
public function getMsc() { return $this->hasOne(MMarketingServiceCenter::className(), ['id' => 'msc_id'])->viaTable('wx_rel_office_msc', ['office_id' => 'office_id']); }