SaasStoreUnion.php 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 $level_id
  15. * @property integer $is_enable
  16. * @property integer $weight
  17. */
  18. class SaasStoreUnion extends \yii\db\ActiveRecord
  19. {
  20. /**
  21. * @inheritdoc
  22. */
  23. public static function tableName()
  24. {
  25. return '{{%saas_store_union}}';
  26. }
  27. /**
  28. * @inheritdoc
  29. */
  30. public function rules()
  31. {
  32. return [
  33. [['store_id', 'is_enable', 'level_id','weight'], 'integer'],
  34. ];
  35. }
  36. /**
  37. * @inheritdoc
  38. */
  39. public function attributeLabels()
  40. {
  41. return [
  42. 'store_id' => '合伙人',
  43. 'level_id' => '等级',
  44. 'is_enable' => '是否开启',
  45. ];
  46. }
  47. }