package com.yeshi.fanli.base.entity.goods;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
@Table("yeshi_ec_common_goods")
|
public class CommonGoods {
|
public static int GOODS_TYPE_TB = 1;// 淘宝天猫
|
public static int GOODS_TYPE_JD = 2;// 京东
|
|
public static int SHOP_TYPE_TB = 1;// 淘宝
|
public static int SHOP_TYPE_TM = 2;// 天猫
|
|
public static int STATE_NORMAL = 0;// 正常
|
public static int STATE_OFFLINE = 1;// 下线
|
|
@Column(name = "cg_id")
|
private Long id;
|
@Column(name = "cg_title")
|
private String title;
|
@Column(name = "cg_goods_id")
|
private Long goodsId;// 第三方商品ID
|
@Column(name = "cg_goods_type")
|
private Integer goodsType;// 第三方类型
|
@Column(name = "cg_shop_type")
|
private Integer shopType;
|
@Column(name = "cg_seller_id")
|
private Long sellerId;
|
@Column(name = "cg_seller_name")
|
private String sellerName;
|
@Column(name = "cg_sales")
|
private Integer sales;
|
@Column(name = "cg_rate")
|
private BigDecimal rate;
|
@Column(name = "cg_picture")
|
private String picture;
|
@Column(name = "cg_state")
|
private Integer state;
|
@Column(name = "cg_price")
|
private BigDecimal price;
|
@Column(name = "cg_coupon_info")
|
private String couponInfo;
|
@Column(name = "cg_coupon_startprice")
|
private BigDecimal couponStartPrice;
|
@Column(name = "cg_coupon_amount")
|
private BigDecimal couponAmount;
|
@Column(name = "cg_coupon_left_count")
|
private Integer couponLeftCount;
|
@Column(name = "cg_coupon_total_count")
|
private Integer couponTotalCount;
|
@Column(name = "cg_video_cover")
|
private String videoCover;
|
@Column(name = "cg_video_url")
|
private String videoUrl;
|
@Column(name = "cg_createtime")
|
private Date createTime;
|
@Column(name = "cg_updatetime")
|
private Date updateTime;
|
|
public CommonGoods() {
|
}
|
|
public CommonGoods(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public Long getGoodsId() {
|
return goodsId;
|
}
|
|
public void setGoodsId(Long goodsId) {
|
this.goodsId = goodsId;
|
}
|
|
public Integer getGoodsType() {
|
return goodsType;
|
}
|
|
public void setGoodsType(Integer goodsType) {
|
this.goodsType = goodsType;
|
}
|
|
public Integer getShopType() {
|
return shopType;
|
}
|
|
public void setShopType(Integer shopType) {
|
this.shopType = shopType;
|
}
|
|
public Long getSellerId() {
|
return sellerId;
|
}
|
|
public void setSellerId(Long sellerId) {
|
this.sellerId = sellerId;
|
}
|
|
public String getSellerName() {
|
return sellerName;
|
}
|
|
public void setSellerName(String sellerName) {
|
this.sellerName = sellerName;
|
}
|
|
public Integer getSales() {
|
return sales;
|
}
|
|
public void setSales(Integer sales) {
|
this.sales = sales;
|
}
|
|
public BigDecimal getRate() {
|
return rate;
|
}
|
|
public void setRate(BigDecimal rate) {
|
this.rate = rate;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public BigDecimal getPrice() {
|
return price;
|
}
|
|
public void setPrice(BigDecimal price) {
|
this.price = price;
|
}
|
|
public String getCouponInfo() {
|
return couponInfo;
|
}
|
|
public void setCouponInfo(String couponInfo) {
|
this.couponInfo = couponInfo;
|
}
|
|
public BigDecimal getCouponStartPrice() {
|
return couponStartPrice;
|
}
|
|
public void setCouponStartPrice(BigDecimal couponStartPrice) {
|
this.couponStartPrice = couponStartPrice;
|
}
|
|
public BigDecimal getCouponAmount() {
|
return couponAmount;
|
}
|
|
public void setCouponAmount(BigDecimal couponAmount) {
|
this.couponAmount = couponAmount;
|
}
|
|
public Integer getCouponLeftCount() {
|
return couponLeftCount;
|
}
|
|
public void setCouponLeftCount(Integer couponLeftCount) {
|
this.couponLeftCount = couponLeftCount;
|
}
|
|
public Integer getCouponTotalCount() {
|
return couponTotalCount;
|
}
|
|
public void setCouponTotalCount(Integer couponTotalCount) {
|
this.couponTotalCount = couponTotalCount;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getVideoCover() {
|
return videoCover;
|
}
|
|
public void setVideoCover(String videoCover) {
|
this.videoCover = videoCover;
|
}
|
|
public String getVideoUrl() {
|
return videoUrl;
|
}
|
|
public void setVideoUrl(String videoUrl) {
|
this.videoUrl = videoUrl;
|
}
|
}
|