255], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'title' => 'Название роли', ]; } /** * @return \yii\db\ActiveQuery */ public function getProjectUsers() { return $this->hasMany(ProjectUser::className(), ['project_role_id' => 'id']); } }