VideoGoodsReduceShow.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 "{{%video_goods_reduce_show}}".
  10. *
  11. * @property int $id 主键
  12. * @property int $user_id 用户id
  13. * @property int $author 举报者用户ID/作者
  14. * @property int $created_at 创建时间
  15. * @property int $store_id 商城ID
  16. * @property int $vl_id 视频ID
  17. * @property int $type
  18. */
  19. class VideoGoodsReduceShow extends \yii\db\ActiveRecord
  20. {
  21. /**
  22. * {@inheritdoc}
  23. */
  24. public static function tableName()
  25. {
  26. return '{{%video_goods_reduce_show}}';
  27. }
  28. public function rules()
  29. {
  30. return [
  31. [['id', 'user_id', 'author', 'created_at', 'store_id', 'vl_id', 'type' ], 'integer']
  32. ];
  33. }
  34. public function attributeLabels()
  35. {
  36. return [
  37. "id" => "主键",
  38. "user_id" => "用户id",
  39. "author" => "举报者用户ID/作者",
  40. "created_at" => "创建时间",
  41. "store_id" => "商城ID",
  42. "vl_id" => "视频ID",
  43. "type" => "类型 1减少此类内容 2不看该作者"
  44. ];
  45. }
  46. }