Files
VscoolOS/app/src/main/java/com/uiuios/aios/bean/GoodsInfo.java
Fanhuitong 7cb6eecb3d version:4.8
fix:
update:增加权重排序
2024-03-12 17:20:22 +08:00

184 lines
3.5 KiB
Java

package com.uiuios.aios.bean;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
public class GoodsInfo implements Serializable {
private static final long serialVersionUID = -229267734972111105L;
String id;
/*商品名*/
String goods_name;
/*简介*/
String goods_desc;
/*缩略图链接*/
String img;
/*详情图链接*/
String details_img;
/*视频链接*/
String video_url;
/*原价*/
String original_price;
/*抢购价*/
String buying_price;
/*库存*/
int stock;
/*跳转链接*/
String jump_url;
String insure;
String deliver_goods;
String after_sales;
String ensure;
@SerializedName("class")
String type;
int weight;//权重
int click_count;
int type_id;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getGoods_name() {
return goods_name;
}
public void setGoods_name(String goods_name) {
this.goods_name = goods_name;
}
public String getGoods_desc() {
return goods_desc;
}
public void setGoods_desc(String goods_desc) {
this.goods_desc = goods_desc;
}
public String getImg() {
return img;
}
public void setImg(String img) {
this.img = img;
}
public String getDetails_img() {
return details_img;
}
public void setDetails_img(String details_img) {
this.details_img = details_img;
}
public String getVideo_url() {
return video_url;
}
public void setVideo_url(String video_url) {
this.video_url = video_url;
}
public String getOriginal_price() {
return original_price;
}
public void setOriginal_price(String original_price) {
this.original_price = original_price;
}
public String getBuying_price() {
return buying_price;
}
public void setBuying_price(String buying_price) {
this.buying_price = buying_price;
}
public int getStock() {
return stock;
}
public void setStock(int stock) {
this.stock = stock;
}
public String getJump_url() {
return jump_url;
}
public void setJump_url(String jump_url) {
this.jump_url = jump_url;
}
public String getInsure() {
return insure;
}
public void setInsure(String insure) {
this.insure = insure;
}
public String getDeliver_goods() {
return deliver_goods;
}
public void setDeliver_goods(String deliver_goods) {
this.deliver_goods = deliver_goods;
}
public String getAfter_sales() {
return after_sales;
}
public void setAfter_sales(String after_sales) {
this.after_sales = after_sales;
}
public String getEnsure() {
return ensure;
}
public void setEnsure(String ensure) {
this.ensure = ensure;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public int getWeight() {
return weight;
}
public void setWeight(int weight) {
this.weight = weight;
}
public int getClick_count() {
return click_count;
}
public void setClick_count(int click_count) {
this.click_count = click_count;
}
public int getType_id() {
return type_id;
}
public void setType_id(int type_id) {
this.type_id = type_id;
}
}