| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?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_cash_log}}".
- *
- * @property integer $id
- * @property integer $user_id
- * @property integer $cash_id
- * @property float $integral
- * @property float $integral_price
- * @property float $reflux_profit
- * @property float $reflux_price
- * @property float $cash_price
- * @property string $created_at
- * @property string $updated_at
- */
- class IntegralAppreciationCashLog extends \yii\db\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%integral_appreciation_cash_log}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['id', 'user_id', 'cash_id'], 'integer'],
- [['integral', 'reflux_profit', 'reflux_price', 'cash_price', 'created_at', 'updated_at', 'integral_price'], 'number']
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'user_id' => '用户ID',
- 'cash_id' => '提现ID',
- 'integral' => '提现积分数量',
- 'integral_price' => '积分价格',
- 'reflux_profit' => '回流奖金池比例',
- 'reflux_price' => '回流奖金池金额',
- 'cash_price' => '实际提现金额',
- 'created_at' => '',
- 'updated_at' => '',
- ];
- }
- }
|