/**
  * 活动分组-属性关联的定义
  */
 public function getAttr()
 {
     return $this->hasOne(ActivityAttrBase::className(), ['id' => 'attr_id']);
 }