Wechataccount.php 991 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 "{{%wechataccount}}".
  10. *
  11. * @property integer $id
  12. * @property string $mobile
  13. * @property string $openid
  14. * @property integer $update_time
  15. * @property string $type_name
  16. * @property string $channel_id
  17. * @property string $appid
  18. */
  19. class Wechataccount extends \yii\db\ActiveRecord
  20. {
  21. /**
  22. * @inheritdoc
  23. */
  24. public static function tableName()
  25. {
  26. return '{{%wechataccount}}';
  27. }
  28. /**
  29. * @inheritdoc
  30. */
  31. public function rules()
  32. {
  33. return [
  34. [['id', 'update_time'], 'integer'],
  35. [['openid', 'mobile', 'type_name', 'channel_id', 'appid'], 'string'],
  36. ];
  37. }
  38. /**
  39. * @inheritdoc
  40. */
  41. public function attributeLabels()
  42. {
  43. return [
  44. 'id' => 'ID',
  45. ];
  46. }
  47. }