FFlucIllegalUsingCar.php 1003 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. namespace app\modules\car\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "{{%f_fluc_illegal_using_car}}".
  6. *
  7. * @property int $id 序号
  8. * @property string|null $city 地市
  9. * @property int|null $year 年
  10. * @property int|null $month 月
  11. * @property int|null $num 违规车辆数量
  12. */
  13. class FFlucIllegalUsingCar extends \app\common\models\EActiveRecord
  14. {
  15. /**
  16. * {@inheritdoc}
  17. */
  18. public static function tableName()
  19. {
  20. return '{{%f_fluc_illegal_using_car}}';
  21. }
  22. /**
  23. * {@inheritdoc}
  24. */
  25. public function rules()
  26. {
  27. return [
  28. [['year', 'month', 'num'], 'integer'],
  29. [['city'], 'string', 'max' => 255],
  30. ];
  31. }
  32. /**
  33. * {@inheritdoc}
  34. */
  35. public function attributeLabels()
  36. {
  37. return [
  38. 'id' => '序号',
  39. 'city' => '地市',
  40. 'year' => '年',
  41. 'month' => '月',
  42. 'num' => '违规车辆数量',
  43. ];
  44. }
  45. }