package com.ruoyi.web.modules.trading.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 牦牛行情 — 近 7 日统计（截至昨日）。
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AppYakMarketStats7Vo
{
    private BigDecimal avgPrice7;

    private BigDecimal minPrice7;

    private BigDecimal maxPrice7;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date minQuoteDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date maxQuoteDate;

    /** 最低价对应日期展示，如 3-30 */
    private String minQuoteDateLabel;

    /** 最高价对应日期展示，如 04-01 */
    private String maxQuoteDateLabel;

    private Integer priceUnit;

    private String priceUnitName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public BigDecimal getAvgPrice7()
    {
        return avgPrice7;
    }

    public void setAvgPrice7(BigDecimal avgPrice7)
    {
        this.avgPrice7 = avgPrice7;
    }

    public BigDecimal getMinPrice7()
    {
        return minPrice7;
    }

    public void setMinPrice7(BigDecimal minPrice7)
    {
        this.minPrice7 = minPrice7;
    }

    public BigDecimal getMaxPrice7()
    {
        return maxPrice7;
    }

    public void setMaxPrice7(BigDecimal maxPrice7)
    {
        this.maxPrice7 = maxPrice7;
    }

    public Date getMinQuoteDate()
    {
        return minQuoteDate;
    }

    public void setMinQuoteDate(Date minQuoteDate)
    {
        this.minQuoteDate = minQuoteDate;
    }

    public Date getMaxQuoteDate()
    {
        return maxQuoteDate;
    }

    public void setMaxQuoteDate(Date maxQuoteDate)
    {
        this.maxQuoteDate = maxQuoteDate;
    }

    public String getMinQuoteDateLabel()
    {
        return minQuoteDateLabel;
    }

    public void setMinQuoteDateLabel(String minQuoteDateLabel)
    {
        this.minQuoteDateLabel = minQuoteDateLabel;
    }

    public String getMaxQuoteDateLabel()
    {
        return maxQuoteDateLabel;
    }

    public void setMaxQuoteDateLabel(String maxQuoteDateLabel)
    {
        this.maxQuoteDateLabel = maxQuoteDateLabel;
    }

    public Integer getPriceUnit()
    {
        return priceUnit;
    }

    public void setPriceUnit(Integer priceUnit)
    {
        this.priceUnit = priceUnit;
    }

    public String getPriceUnitName()
    {
        return priceUnitName;
    }

    public void setPriceUnitName(String priceUnitName)
    {
        this.priceUnitName = priceUnitName;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }
}
