| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;/**
- * This is the model class for table "{{%store_dividends_integral_log}}".
- *
- * @property integer $id
- * @property integer $order_id
- * @property integer $order_type
- * @property integer $dividends_user_id
- * @property float $dividends_integral
- * @property string $created_at
- * @property string $updated_at
- */
- class StoreDividendsUserIntegralLog extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%store_dividends_user_integral_log}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- public function rules()
- {
- return [
- [['id', 'order_id', 'dividends_user_id', 'order_type'], 'integer'],
- [['dividends_integral', 'created_at', 'updated_at'], 'number']
- ];
- }
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'order_id' => '订单ID',
- 'dividends_user_id' => '某店分红用户ID',
- 'dividends_integral' => '积分数量',
- 'created_at' => '创建时间',
- 'updated_at' => '修改时间',
- ];
- }
- }
|