| | |
| | | package com.yeshi.fanli.entity.order;
|
| | |
|
| | | import java.io.Serializable;
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | /**
|
| | | * 订单商品-简版
|
| | | * |
| | | * @author yj
|
| | | *
|
| | | * @date 2018年12月23日
|
| | | */
|
| | |
|
| | | @Table("yeshi_ec_common_order_goods")
|
| | | public class CommonOrderGoods implements Serializable {
|
| | |
|
| | | private static final long serialVersionUID = 1L;
|
| | |
|
| | | // 淘宝
|
| | | public final static String TYPE_TAOBAO = "TB";
|
| | | // 天猫
|
| | | public final static String TYPE_TMALL = "TM";
|
| | |
|
| | | @Column(name = "cog_id")
|
| | | private Long id;
|
| | |
|
| | | // 第三方商品ID
|
| | | @Expose
|
| | | @Column(name = "cog_goods_id")
|
| | | private String goodsId;
|
| | |
|
| | | // 商品的类型
|
| | | @Column(name = "cog_goods_type")
|
| | | private Integer goodsType;// 等同于CommonOrder的sourceType
|
| | |
|
| | | // 标题(变化时新建)
|
| | | @Expose
|
| | | @Column(name = "cog_title")
|
| | | private String title;
|
| | |
|
| | | // 图片(变化时新建)
|
| | | @Expose
|
| | | @Column(name = "cog_picture")
|
| | | private String picture;
|
| | |
|
| | | // 价格(变化时新建)
|
| | | @Expose
|
| | | @Column(name = "cog_price")
|
| | | private BigDecimal price;
|
| | |
|
| | | //实际价格
|
| | | @Column(name = "cog_actual_price")
|
| | | private BigDecimal actualPrice;
|
| | |
|
| | | // 店铺id
|
| | | @Expose
|
| | | @Column(name = "cog_shop_id")
|
| | | private Long shopId;
|
| | |
|
| | | // 店铺名称
|
| | | @Expose
|
| | | @Column(name = "cog_shop_name")
|
| | | private String shopName;
|
| | |
|
| | | // 店铺的类型
|
| | | @Expose
|
| | | @Column(name = "cog_shop_type")
|
| | | private String shopType;
|
| | |
|
| | | // 状态:0正常 1下架
|
| | | @Expose
|
| | | @Column(name = "cog_state")
|
| | | private Integer state;
|
| | |
|
| | | // 创建时间
|
| | | @Column(name = "cog_create_time")
|
| | | private Date createTime;
|
| | |
|
| | | // 更新时间
|
| | | @Column(name = "cog_update_time")
|
| | | private Date updateTime;
|
| | |
|
| | | // 分类
|
| | | private String category1;
|
| | | private String category2;
|
| | | private String category3;
|
| | | |
| | | public CommonOrderGoods() {
|
| | |
|
| | | }
|
| | |
|
| | | public CommonOrderGoods(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Integer getGoodsType() {
|
| | | return goodsType;
|
| | | }
|
| | |
|
| | | public void setGoodsType(Integer goodsType) {
|
| | | this.goodsType = goodsType;
|
| | | }
|
| | |
|
| | | public String getGoodsId() {
|
| | | return goodsId;
|
| | | }
|
| | |
|
| | | public void setGoodsId(String goodsId) {
|
| | | this.goodsId = goodsId;
|
| | | }
|
| | |
|
| | | public String getTitle() {
|
| | | return title;
|
| | | }
|
| | |
|
| | | public void setTitle(String title) {
|
| | | this.title = title;
|
| | | }
|
| | |
|
| | | public String getPicture() {
|
| | | return picture;
|
| | | }
|
| | |
|
| | | public void setPicture(String picture) {
|
| | | this.picture = picture;
|
| | | }
|
| | |
|
| | | public BigDecimal getPrice() {
|
| | | return price;
|
| | | }
|
| | |
|
| | | public void setPrice(BigDecimal price) {
|
| | | this.price = price;
|
| | | }
|
| | |
|
| | | public Long getShopId() {
|
| | | return shopId;
|
| | | }
|
| | |
|
| | | public void setShopId(Long shopId) {
|
| | | this.shopId = shopId;
|
| | | }
|
| | |
|
| | | public String getShopName() {
|
| | | return shopName;
|
| | | }
|
| | |
|
| | | public void setShopName(String shopName) {
|
| | | this.shopName = shopName;
|
| | | }
|
| | |
|
| | | public String getShopType() {
|
| | | return shopType;
|
| | | }
|
| | |
|
| | | public void setShopType(String shopType) {
|
| | | this.shopType = shopType;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | 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 BigDecimal getActualPrice() {
|
| | | return actualPrice;
|
| | | }
|
| | |
|
| | | public void setActualPrice(BigDecimal actualPrice) {
|
| | | this.actualPrice = actualPrice;
|
| | | }
|
| | |
|
| | | public String getCategory1() {
|
| | | return category1;
|
| | | }
|
| | |
|
| | | public void setCategory1(String category1) {
|
| | | this.category1 = category1;
|
| | | }
|
| | |
|
| | | public String getCategory2() {
|
| | | return category2;
|
| | | }
|
| | |
|
| | | public void setCategory2(String category2) {
|
| | | this.category2 = category2;
|
| | | }
|
| | |
|
| | | public String getCategory3() {
|
| | | return category3;
|
| | | }
|
| | |
|
| | | public void setCategory3(String category3) {
|
| | | this.category3 = category3;
|
| | | }
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.entity.order; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | |
| | | /** |
| | | * 订单商品-简版 |
| | | * |
| | | * @author yj |
| | | * |
| | | * @date 2018年12月23日 |
| | | */ |
| | | |
| | | @Table("yeshi_ec_common_order_goods") |
| | | public class CommonOrderGoods implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | // 淘宝 |
| | | public final static String TYPE_TAOBAO = "TB"; |
| | | // 天猫 |
| | | public final static String TYPE_TMALL = "TM"; |
| | | |
| | | @Column(name = "cog_id") |
| | | private Long id; |
| | | |
| | | // 第三方商品ID |
| | | @Expose |
| | | @Column(name = "cog_goods_id") |
| | | private String goodsId; |
| | | |
| | | // 商品的类型 |
| | | @Column(name = "cog_goods_type") |
| | | private Integer goodsType;// 等同于CommonOrder的sourceType |
| | | |
| | | // 标题(变化时新建) |
| | | @Expose |
| | | @Column(name = "cog_title") |
| | | private String title; |
| | | |
| | | // 图片(变化时新建) |
| | | @Expose |
| | | @Column(name = "cog_picture") |
| | | private String picture; |
| | | |
| | | // 价格(变化时新建) |
| | | @Expose |
| | | @Column(name = "cog_price") |
| | | private BigDecimal price; |
| | | |
| | | //实际价格 |
| | | @Column(name = "cog_actual_price") |
| | | private BigDecimal actualPrice; |
| | | |
| | | // 店铺id |
| | | @Expose |
| | | @Column(name = "cog_shop_id") |
| | | private Long shopId; |
| | | |
| | | // 店铺名称 |
| | | @Expose |
| | | @Column(name = "cog_shop_name") |
| | | private String shopName; |
| | | |
| | | // 店铺的类型 |
| | | @Expose |
| | | @Column(name = "cog_shop_type") |
| | | private String shopType; |
| | | |
| | | // 状态:0正常 1下架 |
| | | @Expose |
| | | @Column(name = "cog_state") |
| | | private Integer state; |
| | | |
| | | // 创建时间 |
| | | @Column(name = "cog_create_time") |
| | | private Date createTime; |
| | | |
| | | // 更新时间 |
| | | @Column(name = "cog_update_time") |
| | | private Date updateTime; |
| | | |
| | | // 分类 |
| | | private String category1; |
| | | private String category2; |
| | | private String category3; |
| | | |
| | | public CommonOrderGoods() { |
| | | |
| | | } |
| | | |
| | | public CommonOrderGoods(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getGoodsType() { |
| | | return goodsType; |
| | | } |
| | | |
| | | public void setGoodsType(Integer goodsType) { |
| | | this.goodsType = goodsType; |
| | | } |
| | | |
| | | public String getGoodsId() { |
| | | return goodsId; |
| | | } |
| | | |
| | | public void setGoodsId(String goodsId) { |
| | | this.goodsId = goodsId; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public void setPicture(String picture) { |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public BigDecimal getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(BigDecimal price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | public Long getShopId() { |
| | | return shopId; |
| | | } |
| | | |
| | | public void setShopId(Long shopId) { |
| | | this.shopId = shopId; |
| | | } |
| | | |
| | | public String getShopName() { |
| | | return shopName; |
| | | } |
| | | |
| | | public void setShopName(String shopName) { |
| | | this.shopName = shopName; |
| | | } |
| | | |
| | | public String getShopType() { |
| | | return shopType; |
| | | } |
| | | |
| | | public void setShopType(String shopType) { |
| | | this.shopType = shopType; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | 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 BigDecimal getActualPrice() { |
| | | return actualPrice; |
| | | } |
| | | |
| | | public void setActualPrice(BigDecimal actualPrice) { |
| | | this.actualPrice = actualPrice; |
| | | } |
| | | |
| | | public String getCategory1() { |
| | | return category1; |
| | | } |
| | | |
| | | public void setCategory1(String category1) { |
| | | this.category1 = category1; |
| | | } |
| | | |
| | | public String getCategory2() { |
| | | return category2; |
| | | } |
| | | |
| | | public void setCategory2(String category2) { |
| | | this.category2 = category2; |
| | | } |
| | | |
| | | public String getCategory3() { |
| | | return category3; |
| | | } |
| | | |
| | | public void setCategory3(String category3) { |
| | | this.category3 = category3; |
| | | } |
| | | |
| | | } |