255], [['name'], 'unique'], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'name' => 'Name', //'smopp_jt_id' => 'Smopp Jt ID', //'asusg_id' => 'Asusg ID', ]; } public function getTaskstypes() { //return $this->hasMany(Tasktypes::className(), ['id' => 'smopp_jt_id']); } public function setSections() { //return $this->hasMany(Sections::className(), ['id' => 'smopp_jt_id']); } }