package com.cheikh.lazywaimai.model.bean;
import com.google.gson.annotations.SerializedName;
/**
* Created by comet on 16/1/29.
*/
public class BoughtProduct {
@SerializedName("id") long id;
@SerializedName("name")
String name;
@SerializedName("unit_price") double unitPrice;
@SerializedName("total_price") double totalPrice;
@SerializedName("quantity") int quantity;
@SerializedName("left_num") int leftNum;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getUnitPrice() {
return unitPrice;
}
public void setUnitPrice(double unitPrice) {
this.unitPrice = unitPrice;
}
public double getTotalPrice() {
return totalPrice;
}
public void setTotalPrice(double totalPrice) {
this.totalPrice = totalPrice;
}
public int getQuantity() {
return quantity;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public int getLeftNum() {
return leftNum;
}
public void setLeftNum(int leftNum) {
this.leftNum = leftNum;
}
}