package com.tzy.common.utils.group;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class HotParameters implements Serializable {
    // 总库存
    private int totalStock;
    // 售卖库存
    private int soldQuantity;
    // 总销售额
    private double totalSalesAmount;
    // 近2小时销售额
    private double recentSalesAmount;
    // 开售天数
    private int daysSinceLaunch;
    // 商家加成
    private double sellerBonusMultiplier;
    // 干预分加成
    private double baseSortValue = 0;
    // 权重参数
    // 售出进度
    private double weightSoldPercentage = 2;
    // 累计销售总金额（时间权重衰减）
    private double weightTotalSales = 4;
    // 近1小时销售总金额
    private double weightRecentSales = 3;
    // 新品
    private double weightNewProduct = 1;
    //总价
    private double totalPrize = 0;
}
