xhStatUserByDay.php 1.0 KB

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