| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?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 "{{%insurance}}".
- *
- * @property integer $id
- * @property integer $goods_id
- * @property integer $store_id
- * @property float $reflux_amount
- * @property float $integral_amount
- * @property integer $is_delete
- * @property string $created_at
- * @property string $updated_at
- */
- class IntegralAppreciationGoods extends \yii\db\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%integral_appreciation_goods}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['id', 'goods_id', 'store_id', 'is_delete'], 'integer'],
- [['reflux_amount', 'integral_amount', 'created_at', 'updated_at'], 'number']
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'goods_id' => '商品ID',
- 'store_id' => '商城ID',
- 'reflux_amount' => '回流奖金池金额',
- 'integral_amount' => '增值积分金额',
- 'is_delete' => '',
- 'created_at' => '',
- 'updated_at' => ''
- ];
- }
- }
|