| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <?php
- /**
- * 重庆赤晓店信息科技有限公司
- * https://www.chixiaodian.com
- * Copyright (c) 2023 赤店商城 All rights reserved.
- */
- namespace app\models;
- use yii\db\ActiveRecord;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%integral_appreciation_pool}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property float $amount
- * @property float $total_integral
- * @property float $total_user_integral
- * @property float $integral_price
- * @property string $created_at
- * @property string $updated_at
- */
- class IntegralAppreciationPool extends \yii\db\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%integral_appreciation_pool}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['id', 'store_id'], 'integer'],
- [['amount', 'total_integral', 'integral_price', 'total_user_integral', 'created_at', 'updated_at'], 'number']
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'store_id' => '商城ID',
- 'amount' => '积分底池金额',
- 'total_integral' => '当前一共铸造积分数量',
- 'total_user_integral' => '当前给用户发放积分数量',
- 'integral_price' => '当前积分价格',
- 'created_at' => '',
- 'updated_at' => '',
- ];
- }
- }
|