PluginAwardAppoint.php 1.0 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 "{{%plugin_award_appoint}}".
  12. *
  13. * @property integer $saas_id
  14. * @property integer $id
  15. * @property integer $store_id
  16. * @property integer $rate
  17. * @property integer $is_delete
  18. * @property integer $status
  19. * @property string $name
  20. */
  21. class PluginAwardAppoint extends \yii\db\ActiveRecord
  22. {
  23. /**
  24. * @inheritdoc
  25. */
  26. public static function tableName()
  27. {
  28. return '{{%plugin_award_appoint}}';
  29. }
  30. /**
  31. * @inheritdoc
  32. */
  33. public function rules()
  34. {
  35. return [
  36. [['saas_id', 'is_delete','status','store_id','id'], 'integer'],
  37. [['name'], 'string'],
  38. [['rate'], 'number'],
  39. ];
  40. }
  41. /**
  42. * @inheritdoc
  43. */
  44. public function attributeLabels()
  45. {
  46. return [
  47. 'saas_id' => '合伙人',
  48. ];
  49. }
  50. }