| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use yii\db\ActiveRecord;
- use yii\behaviors\TimestampBehavior;
- use Yii;
- /**
- * This is the model class for table "{{%bonus_pool_level}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property integer $pool_id
- * @property integer $money
- * @property integer $level_id
- * @property string $user_id
- * @property integer $is_send
- * @property integer $send_time
- * @property integer $created_at
- */
- class ReportCommitIntegral extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%report_commit_integral}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- 'attributes' => [
- ActiveRecord::EVENT_BEFORE_INSERT => ['created_at'],
- ]
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['store_id', 'report_id', 'user_id', 'is_delete','user_id','money'], 'integer'],
- [['created_at'], 'safe']
- ];
- }
- }
|