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;

/**
 * 牦牛行情 — 昨日主卡。
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AppYakMarketYesterdayVo
{
    private BigDecimal avgPrice;

    private Integer priceUnit;

    private String priceUnitName;

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

    public BigDecimal getAvgPrice()
    {
        return avgPrice;
    }

    public void setAvgPrice(BigDecimal avgPrice)
    {
        this.avgPrice = avgPrice;
    }

    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 getQuoteDate()
    {
        return quoteDate;
    }

    public void setQuoteDate(Date quoteDate)
    {
        this.quoteDate = quoteDate;
    }
}
