xhOrderMonthNum.php 965 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace common\models;
  3. /**
  4. * This is the model class for table "xhOrderMonthNum".
  5. *
  6. * @property int $id
  7. * @property int $year 年
  8. * @property int $month 月份
  9. * @property int $riseNum 增加数量
  10. * @property int $totalNum 总数量
  11. * @property int $merchantId 商家id
  12. */
  13. class xhOrderMonthNum extends xhBaseModel
  14. {
  15. /**
  16. * @inheritdoc
  17. */
  18. public static function tableName()
  19. {
  20. return 'xhOrderMonthNum';
  21. }
  22. /**
  23. * @inheritdoc
  24. */
  25. public function rules()
  26. {
  27. return [
  28. [['year', 'month', 'riseNum', 'totalNum', 'merchantId'], 'integer'],
  29. ];
  30. }
  31. /**
  32. * @inheritdoc
  33. */
  34. public function attributeLabels()
  35. {
  36. return [
  37. 'id' => 'ID',
  38. 'year' => 'Year',
  39. 'month' => 'Month',
  40. 'riseNum' => 'Rise Num',
  41. 'totalNum' => 'Total Num',
  42. 'merchantId' => 'Merchant ID',
  43. ];
  44. }
  45. }