UserBindLog.php 985 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_bind_log}}".
  10. *
  11. * @property int $id
  12. * @property int $user_id
  13. * @property int $parent_id
  14. * @property int $bind_time
  15. */
  16. class UserBindLog extends \yii\db\ActiveRecord
  17. {
  18. /**
  19. * @inheritdoc
  20. */
  21. public static function tableName()
  22. {
  23. return '{{%user_bind_log}}';
  24. }
  25. /**
  26. * @inheritdoc
  27. */
  28. public function rules()
  29. {
  30. return [
  31. [['id', 'user_id','parent_id','bind_time'], 'integer']
  32. ];
  33. }
  34. /**
  35. * @inheritdoc
  36. */
  37. public function attributeLabels()
  38. {
  39. return [
  40. 'id' => "ID主键",
  41. 'user_id' => "用户ID",
  42. 'parent_id' => "临时上级ID",
  43. 'bind_time' => "绑定时间",
  44. ];
  45. }
  46. }