| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace addons\ServeBonus\common\models;
- use Yii;
- /**
- * This is the model class for table "{{%addons_servebonus_upgrade_limit}}".
- *
- * @property int $id
- * @property int|null $mall_id 商城ID
- * @property int|null $user_id 消费者ID
- * @property int|null $serve_uid 消费者上级ID
- * @property int|null $level 消费者上级等级
- * @property float|null $achievement 为上级贡献的业绩,单位:元
- * @property int|null $status 状态[-1:删除;0:禁用;1启用]
- * @property int|null $created_at 创建时间
- * @property int|null $updated_at 修改时间
- */
- class ServeBonusUpgradeLimit extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_servebonus_upgrade_limit}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'user_id', 'serve_uid', 'level', 'status', 'created_at', 'updated_at'], 'integer'],
- [['achievement'], 'number'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => '商城ID',
- 'user_id' => '消费者ID',
- 'serve_uid' => '消费者上级ID',
- 'level' => '消费者上级等级',
- 'achievement' => '为上级贡献的业绩,单位:元',
- 'status' => '状态[-1:删除;0:禁用;1启用]',
- 'created_at' => '创建时间',
- 'updated_at' => '修改时间',
- ];
- }
- }
|