package org.dromara.mall.promotion.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.mall.promotion.domain.MallBargain;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 砍价活动视图对象 mall_bargain
 *
 * @author pengles
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = MallBargain.class)
public class MallBargainVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 砍价ID
     */
    @ExcelProperty(value = "砍价ID")
    private Long id;

    /**
     * 活动ID
     */
    @ExcelProperty(value = "活动ID")
    private Long promotionId;

    /**
     * SKU ID
     */
    @ExcelProperty(value = "SKU ID")
    private Long skuId;

    /**
     * 砍后价(分)
     */
    @ExcelProperty(value = "砍后价(分)")
    private Integer bargainPrice;

    /**
     * 原价(分)
     */
    @ExcelProperty(value = "原价(分)")
    private Integer originalPrice;

    /**
     * 砍价库存
     */
    @ExcelProperty(value = "砍价库存")
    private Integer bargainStock;

    /**
     * 最低价(分)
     */
    @ExcelProperty(value = "最低价(分)")
    private Integer minPrice;

    /**
     * 需要助力人数
     */
    @ExcelProperty(value = "需要助力人数")
    private Integer helpCount;

    /**
     * 砍价有效期(小时)
     */
    @ExcelProperty(value = "砍价有效期(小时)")
    private Integer durationHours;

    /**
     * 状态(0启用 1禁用)
     */
    @ExcelProperty(value = "状态")
    private Integer status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

}
