package com.desfate.chart.data;

import android.os.Parcel;
import android.os.Parcelable;

public class ChartBidFiveDatas implements Parcelable {
    private String buyNum = "";
    private String buyPrice = "";

    public ChartBidFiveDatas(String buyNum, String buyPrice) {
        super();
        this.buyNum = buyNum;
        this.buyPrice = buyPrice;
    }

    public ChartBidFiveDatas() {
        super();
    }

    protected ChartBidFiveDatas(Parcel in) {
        buyNum = in.readString();
        buyPrice = in.readString();
    }

    public static final Creator<ChartBidFiveDatas> CREATOR = new Creator<ChartBidFiveDatas>() {
        @Override
        public ChartBidFiveDatas createFromParcel(Parcel in) {
            return new ChartBidFiveDatas(in);
        }

        @Override
        public ChartBidFiveDatas[] newArray(int size) {
            return new ChartBidFiveDatas[size];
        }
    };

    public String getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(String buyNum) {
        this.buyNum = buyNum;
    }

    public String getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(String buyPrice) {
        this.buyPrice = buyPrice;
    }

    @Override
    public int describeContents() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        // TODO Auto-generated method stub

        dest.writeString(buyNum);
        dest.writeString(buyPrice);
    }


}
