xhOrderDayNum.php 893 B

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