package org.mrcsparker.ceeql.model;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ProductDTO {
private long id;
private String name;
private double price;
@JsonProperty(value="vendor_id")
private int vendorId;
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 getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
public int getVendorId() {
return vendorId;
}
public void setVendorId(int vendorId) {
this.vendorId = vendorId;
}
}