| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use Yii;
- use yii\behaviors\TimestampBehavior;
- use yii\db\ActiveRecord;
- /**
- * This is the model class for table "{{%saas_unit_founder}}".
- *
- * @property integer $saas_id
- * @property integer $store_id
- * @property integer $level_id
- * @property integer $is_enable
- * @property integer $weight
- * @property integer $config_id
- * @property integer $created_at
- */
- class PluginPoolMember extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%plugin_pool_member}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- 'attributes' => [
- ActiveRecord::EVENT_BEFORE_INSERT => ['created_at'],
- ]
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['saas_id', 'is_enable', 'level_id','weight','store_id'], 'integer'],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'saas_id' => '合伙人',
- 'level_id' => '等级',
- 'is_enable' => '是否开启',
- ];
- }
- }
|