xhUserTag.php 784 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace common\models;
  3. /**
  4. * This is the model class for table "xhUserTag".
  5. *
  6. * @property integer $id
  7. * @property integer $userId
  8. * @property integer $merchantId
  9. * @property integer $tagId
  10. */
  11. class xhUserTag extends xhBaseModel
  12. {
  13. /**
  14. * @inheritdoc
  15. */
  16. public static function tableName()
  17. {
  18. return 'xhUserTag';
  19. }
  20. /**
  21. * @inheritdoc
  22. */
  23. public function rules()
  24. {
  25. return [
  26. [['id', 'userId', 'merchantId', 'tagId'], 'integer'],
  27. ];
  28. }
  29. /**
  30. * @inheritdoc
  31. */
  32. public function attributeLabels()
  33. {
  34. return [
  35. 'id' => 'ID',
  36. 'userId' => 'User ID',
  37. 'merchantId' => 'Merchant ID',
  38. 'tagId' => 'Tag ID',
  39. ];
  40. }
  41. }