255], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'surface_type_id' => 'Surface Type ID', 'name' => 'Name', ]; } /** * @return \yii\db\ActiveQuery */ public function getCrossSections() { return $this->hasMany(CrossSection::className(), ['surface_type_id' => 'surface_type_id']); } }