<?php namespace common\models; use Yii; /** * This is the model class for table "fix_car_price". * * @property integer $id * @property integer $price * @property string $created_at * @property string $updated_at */ class FixCarPrice extends \common\models\Base { /** * @inheritdoc */ public static function tableName() { return 'fix_car_price'; } /** * @inheritdoc */ public function rules() { return [ [['price'], 'required'], [['price'], 'integer'], [['created_at', 'updated_at'], 'safe'], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'price' => 'Price', 'created_at' => 'Created At', 'updated_at' => 'Updated At', ]; } }