1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace app\modules\car\models;
- use Yii;
- /**
- * This is the model class for table "{{%f_fluc_illegal_using_car}}".
- *
- * @property int $id 序号
- * @property string|null $city 地市
- * @property int|null $year 年
- * @property int|null $month 月
- * @property int|null $num 违规车辆数量
- */
- class FFlucIllegalUsingCar extends \app\common\models\EActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%f_fluc_illegal_using_car}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['year', 'month', 'num'], 'integer'],
- [['city'], 'string', 'max' => 255],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => '序号',
- 'city' => '地市',
- 'year' => '年',
- 'month' => '月',
- 'num' => '违规车辆数量',
- ];
- }
- }
|