package com.hzs.common.domain.activity.add;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 加购升级配置表
 * </p>
 *
 * @author bd
 * @since 2025-10-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("AC_ADD_UPGRADE_CONFIG")
@KeySequence("AC_ADD_UPGRADE_CONFIG_SEQ")
@Builder
public class AcAddUpgradeConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 活动基本配置主键
     */
    @TableField("PK_BASE_ID")
    private Long pkBaseId;

    /**
     * 订单类型 来源于枚举：所属专区
     */
    @TableField("ORDER_TYPE")
    private Integer orderType;

    /**
     * 商品主键
     */
    @TableField("PK_WARES")
    private Integer pkWares;

    /**
     * 数量
     */
    @TableField("QUANTITY")
    private Integer quantity;

    /**
     * 原等级
     */
    @TableField("ORIGINAL_LEVEL")
    private Integer originalLevel;

    /**
     * 升级等级
     */
    @TableField("UPGRADE_LEVEL")
    private Integer upgradeLevel;


}
