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 "province". * * @property int $id * @property string $name * @property int $province_id */ class Province extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ public static function tableName() { return 'province'; }
/** * {@inheritdoc} */ public function rules() { return [ [['province_id'], 'integer'], [['name'], 'string', 'max' => 16], ]; }
/** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'id', 'name' => 'name', 'province_id' => 'province_id', ]; }
}
|