芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/models/Destination.php
100], [['city', 'country'], 'string', 'max' => 45], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'name' => 'Name', 'city' => 'City', 'country' => 'Country', 'active' => 'Active', 'trash' => 'Trash', ]; } /** * Gets query for [[Flights]]. * * @return \yii\db\ActiveQuery */ public function getFlights() { return $this->hasMany(Flight::class, ['destination_id' => 'id']); } }