package com.sckw.product.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sckw.core.model.base.BaseModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @desc: 商品-价格段(修改时原数据备份)
 * @author: yzc
 * @date: 2023-06-25 9:04
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("kwp_goods_price_range")
public class KwpGoodsPriceRange extends BaseModel implements Serializable {

    @Serial
    private static final long serialVersionUID = 234896343045075865L;
    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 起售量
     */
    private BigDecimal startAmount;

    /**
     * 上限售量
     */
    private BigDecimal endAmount;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 序号
     */
    private Integer sort;

}
