123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace app\modules\car\models;
- use Yii;
- /**
- * This is the model class for table "{{%f_stats_illegal_using_car}}".
- *
- * @property int $id 序号
- * @property string|null $city 地市
- * @property string|null $sec_unit 二级单位
- * @property string|null $grid 网格
- * @property int|null $times 1
- * @property int|null $year 年
- * @property int|null $month 月
- */
- class FStatsIllegalUsingCar extends \app\common\models\EActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%f_stats_illegal_using_car}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['times', 'year', 'month'], 'integer'],
- [['city', 'sec_unit', 'grid'], 'string', 'max' => 255],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => '序号',
- 'city' => '地市',
- 'sec_unit' => '二级单位',
- 'grid' => '网格',
- 'times' => '1',
- 'year' => '年',
- 'month' => '月',
- ];
- }
- }
|