UserWechat.php 672 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "{{%user_wechat}}".
  6. *
  7. * @property string $id
  8. * @property integer $uid
  9. */
  10. class UserWechat extends \yii\db\ActiveRecord
  11. {
  12. /**
  13. * @inheritdoc
  14. */
  15. public static function tableName()
  16. {
  17. return '{{%user_wechat}}';
  18. }
  19. /**
  20. * @inheritdoc
  21. */
  22. public function rules()
  23. {
  24. return [
  25. [['uid'], 'integer'],
  26. ];
  27. }
  28. /**
  29. * @inheritdoc
  30. */
  31. public function attributeLabels()
  32. {
  33. return [
  34. 'id' => 'ID',
  35. 'uid' => 'Uid',
  36. 'openid' => 'openid',
  37. ];
  38. }
  39. }