SaasPartnerStore.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. use Yii;
  9. use yii\db\ActiveRecord;
  10. /**
  11. * This is the model class for table "{{%saas_partner}}".
  12. *
  13. * @property integer $store_id
  14. * @property integer $saas_id
  15. * @property integer $user_id
  16. * @property integer $is_enable
  17. * @property integer $is_delete
  18. * @property string $type
  19. */
  20. class SaasPartnerStore extends \yii\db\ActiveRecord
  21. {
  22. /**
  23. * @inheritdoc
  24. */
  25. public static function tableName()
  26. {
  27. return '{{%saas_partner_store}}';
  28. }
  29. /**
  30. * @inheritdoc
  31. */
  32. public function rules()
  33. {
  34. return [
  35. [['saas_id', 'is_enable', 'store_id','user_id','is_delete'], 'integer'],
  36. [['type'], 'safe'],
  37. ];
  38. }
  39. /**
  40. * @inheritdoc
  41. */
  42. public function attributeLabels()
  43. {
  44. return [
  45. 'saas_id' => '合伙人',
  46. 'store_id' => '店铺id',
  47. 'is_enable' => '是否开启',
  48. ];
  49. }
  50. }