| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use app\constants\OptionSetting;
- use app\modules\alliance\models\CurrencyForm;
- use app\plugins\scanCodePay\models\Order as ScanCodePayOrder;
- use app\plugins\scanCodePay\models\Order as ScanOrder;
- use yii\db\ActiveRecord;
- use yii\behaviors\TimestampBehavior;
- use Yii;
- use yii\helpers\Json;
- /**
- * This is the model class for table "{{%webconfig}}".
- *
- * @property integer $id
- * @property string $user_percent
- * @property string $agent_percent
- * @property string $tx_amount
- * @property string $upper_huifu_id
- * @property integer $is_currency_show
- * @property integer $beishu_num
- * @property string $award_type
- * @property integer $alice_channel_id
- * @property string $alice_huifu_id
- * @property string $wechat_app_currency_name
- * @property string $imageurl
- * @property integer $imageurl_time
- */
- class Webconfig extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%webconfig}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['user_percent', 'agent_percent', 'tx_amount'], 'number'],
- [['is_currency_show', 'beishu_num', 'alice_channel_id', 'imageurl_time'], 'integer'],
- [['imageurl'], 'string'],
- [['upper_huifu_id', 'alice_huifu_id', 'wechat_app_currency_name'], 'string', 'max' => 255],
- [['award_type'], 'string', 'max' => 255],
- ];
- }
- }
|