package com.cheikh.lazywaimai.model.bean; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.List; public class Business implements Serializable { @SerializedName("id") String id; @SerializedName("name") String name; @SerializedName("phone") String phone; @SerializedName("address") String address; @SerializedName("pic_url") String picUrl; @SerializedName("shipping_fee") double shippingFee; @SerializedName("min_price") double minPrice; @SerializedName("shipping_time") int shippingTime; @SerializedName("month_sales") int monthSales; @SerializedName("bulletin") String bulletin; @SerializedName("is_like") boolean isLike; @SerializedName("created_at") long createdAt; transient List<ProductCategory> productCategories; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getPicUrl() { return picUrl; } public void setPicUrl(String picUrl) { this.picUrl = picUrl; } public double getShippingFee() { return shippingFee; } public void setShippingFee(double shippingFee) { this.shippingFee = shippingFee; } public double getMinPrice() { return minPrice; } public void setMinPrice(double minPrice) { this.minPrice = minPrice; } public int getShippingTime() { return shippingTime; } public void setShippingTime(int shippingTime) { this.shippingTime = shippingTime; } public int getMonthSales() { return monthSales; } public void setMonthSales(int monthSales) { this.monthSales = monthSales; } public String getBulletin() { return bulletin; } public void setBulletin(String bulletin) { this.bulletin = bulletin; } public boolean isLike() { return isLike; } public void setLike(boolean like) { isLike = like; } public long getCreatedAt() { return createdAt; } public void setCreatedAt(long createdAt) { this.createdAt = createdAt; } public List<ProductCategory> getProductCategories() { return productCategories; } public void setProductCategories(List<ProductCategory> productCategories) { this.productCategories = productCategories; } @Override public String toString() { return "Business{" + "id=" + id + ", name='" + name + '\'' + ", phone='" + phone + '\'' + ", address='" + address + '\'' + ", picUrl='" + picUrl + '\'' + ", shippingFee=" + shippingFee + ", minPrice=" + minPrice + ", shippingTime=" + shippingTime + ", bulletin='" + bulletin + '\'' + ", isLike='" + isLike + '\'' + ", createdAt=" + createdAt + '}'; } }