| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?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 "{{%make_doncessions}}".
- *
- * @property integer $id
- * @property integer $start_time
- * @property integer $end_time
- * @property double $string_code_make_concessions
- * @property double $all_order_money
- * @property double $make_concessions_amount
- * @property integer $make_concessions_count
- * @property integer $send_time
- * @property integer $created_at
- * @property integer $updated_at
- * @property integer $store_id
- */
- class MakeDoncessions extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%make_doncessions}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- 'attributes' => [
- ActiveRecord::EVENT_BEFORE_INSERT => ['created_at'],
- ActiveRecord::EVENT_BEFORE_UPDATE => ['updated_at']
- ]
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['send_time', 'start_time', 'end_time', 'make_concessions_count','store_id'], 'integer'],
- [['all_order_money', 'string_code_make_concessions', 'make_concessions_amount'], 'number'],
- [['created_at', 'updated_at'], 'safe']
- ];
- }
- }
|