| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use Yii;
- /**
- * This is the model class for table "{{%saas_distribution}}".
- *
- * @property integer $id
- * @property integer $saas_id
- * @property string $platform_open_id
- * @property string $ali_name
- * @property string $name
- * @property integer $is_delete
- * @property integer $created_at
- */
- class SaasDistribution extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%saas_distribution}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['saas_id'], 'required'],
- [['saas_id','wechat_type'], 'integer'],
- [['name','ali_name','platform_open_id'], 'string']
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'saas_id' => 'Saas ID',
- 'platform_open_id' => '微信 open_id',
- 'wechat_type' => '获取微信openId',
- 'ali_name' => '支付宝账户名称',
- 'name' => '真实姓名',
- 'is_delete' => '是否已删除',
- 'created_at' => '创建时间'
- ];
- }
- }
|