UserStringCodeLog.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. /**
  9. * This is the model class for table "{{%user_string_code_log}}".
  10. *
  11. * @property integer $id
  12. * @property integer $store_id
  13. * @property integer $user_id
  14. * @property integer $order_id
  15. * @property integer $is_scan
  16. * @property integer $created_at
  17. */
  18. class UserStringCodeLog extends \yii\db\ActiveRecord
  19. {
  20. /**
  21. * @inheritdoc
  22. */
  23. public static function tableName()
  24. {
  25. return '{{%user_string_code_log}}';
  26. }
  27. /**
  28. * @inheritdoc
  29. */
  30. public function rules()
  31. {
  32. return [
  33. [['store_id', 'user_id', 'order_id', 'is_scan', 'created_at'], 'integer'],
  34. ];
  35. }
  36. /**
  37. * @inheritdoc
  38. */
  39. public function attributeLabels()
  40. {
  41. return [
  42. 'id' => 'ID',
  43. 'store_id' => '店铺id',
  44. 'user_id' => '用户id',
  45. 'order_id' => '订单id',
  46. 'is_scan' => '是否当面付',
  47. 'created_at' => '创建时间',
  48. ];
  49. }
  50. }