| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- /*
- * @Author:
- * @Date: 2021-04-06 09:38:04
- * @LastEditTime: 2021-04-23 17:45:58
- * @LastEditors: Please set LastEditors
- * @Description: In User Settings Edit
- * @FilePath: \admin_php\models\SmsSetting.php
- */
- namespace app\models;
- use Yii;
- /**
- * This is the model class for table "{{%sms_setting}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property string $AccessKeyId
- * @property string $AccessKeySecret
- * @property string $sign
- * @property integer $created_at
- */
- class SmsSetting extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%sms_setting}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['store_id', 'created_at'], 'integer'],
- [['AccessKeyId', 'AccessKeySecret', 'sign'], 'string', 'max' => 255],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'store_id' => 'Store ID',
- 'AccessKeyId' => '阿里云AccessKeyId',
- 'AccessKeySecret' => '阿里云AccessKeySecret',
- 'sign' => '短信模板签名',
- 'created_at' => 'Addtime'
- ];
- }
- }
|