You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
namespace common\models\ars;
use Yii; use yii\behaviors\TimestampBehavior;
/** * This is the model class for table "area". * * @property int $id * @property string $name * @property int $area_id * @property int $city_id */ class Area extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ public static function tableName() { return 'area'; }
/** * {@inheritdoc} */ public function rules() { return [ [['area_id', 'city_id'], 'integer'], [['name'], 'string', 'max' => 32], ]; }
/** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'id', 'name' => 'name', 'area_id' => 'area_id', 'city_id' => 'city_id', ]; }
}
|