package com.yeshi.fanli.entity.jd;
|
|
import java.util.Date;
|
import java.util.List;
|
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import com.google.gson.annotations.SerializedName;
|
|
@Table("yeshi_ec_jd_order")
|
public class JDOrder {
|
@Column(name = "jo_id")
|
private Long id;// 主键ID
|
// 主订单维度
|
@Column(name = "jo_finish_time")
|
private Long finishTime;// 订单完成时间(时间戳,毫秒)
|
@Column(name = "jo_order_emt")
|
private Integer orderEmt;// 下单设备(1:PC,2:无线)
|
@Column(name = "jo_order_id")
|
private Long orderId;// 订单ID
|
@Column(name = "jo_order_time")
|
private Long orderTime;// 下单时间(时间戳,毫秒)
|
@Column(name = "jo_parent_id")
|
private Long parentId;// 父单的订单ID,仅当发生订单拆分时返回, 0:未拆分,有值则表示此订单为子订单
|
@Column(name = "jo_pay_month")
|
private String payMonth;// 订单维度预估结算时间(格式:yyyyMMdd),0:未结算,订单的预估结算时间仅供参考。账号未通过资质审核或订单发生售后,会影响订单实际结算时间。
|
@Column(name = "jo_plus")
|
private Integer plus;// 下单用户是否为PLUS会员 0:否,1:是
|
@Column(name = "jo_pop_id")
|
private Long popId;// 商家ID
|
@Column(name = "jo_union_id")
|
private Long unionId;// 推客的联盟ID
|
@Column(name = "jo_ext1")
|
private String ext1;// 推客生成推广链接时传入的扩展字段,订单维度(需要联系运营开放白名单才能拿到数据)
|
@Column(name = "jo_valid_code")
|
private Integer validCode;// 订单维度的有效码
|
// 订单维度的有效码(-1:未知,2.无效-拆单,3.无效-取消,4.无效-京东帮帮主订单,5.无效-账号异常,6.无效-赠品类目不返佣,7.无效-校园订单,8.无效-企业订单,9.无效-团购订单,10.无效-开增值税专用发票订单,11.无效-乡村推广员下单,12.无效-自己推广自己下单,13.无效-违规订单,14.无效-来源与备案网址不符,15.待付款,16.已付款,17.已完成,18.已结算(5.9号不再支持结算状态回写展示))注:自2018/7/13起,自己推广自己下单已经允许返佣,故12无效码仅针对历史数据有效
|
@Column(name = "jo_create_time")
|
private Date createTime;
|
@Column(name = "jo_update_time")
|
private Date updateTime;
|
@SerializedName("skuList")
|
private List<JDOrderItem> orderItemList;
|
|
public List<JDOrderItem> getOrderItemList() {
|
return orderItemList;
|
}
|
|
public void setOrderItemList(List<JDOrderItem> orderItemList) {
|
this.orderItemList = orderItemList;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getFinishTime() {
|
return finishTime;
|
}
|
|
public void setFinishTime(Long finishTime) {
|
this.finishTime = finishTime;
|
}
|
|
public Integer getOrderEmt() {
|
return orderEmt;
|
}
|
|
public void setOrderEmt(Integer orderEmt) {
|
this.orderEmt = orderEmt;
|
}
|
|
public Long getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(Long orderId) {
|
this.orderId = orderId;
|
}
|
|
public Long getOrderTime() {
|
return orderTime;
|
}
|
|
public void setOrderTime(Long orderTime) {
|
this.orderTime = orderTime;
|
}
|
|
public Long getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public String getPayMonth() {
|
return payMonth;
|
}
|
|
public void setPayMonth(String payMonth) {
|
this.payMonth = payMonth;
|
}
|
|
public Integer getPlus() {
|
return plus;
|
}
|
|
public void setPlus(Integer plus) {
|
this.plus = plus;
|
}
|
|
public Long getPopId() {
|
return popId;
|
}
|
|
public void setPopId(Long popId) {
|
this.popId = popId;
|
}
|
|
public Long getUnionId() {
|
return unionId;
|
}
|
|
public void setUnionId(Long unionId) {
|
this.unionId = unionId;
|
}
|
|
public String getExt1() {
|
return ext1;
|
}
|
|
public void setExt1(String ext1) {
|
this.ext1 = ext1;
|
}
|
|
public Integer getValidCode() {
|
return validCode;
|
}
|
|
public void setValidCode(Integer validCode) {
|
this.validCode = validCode;
|
}
|
|
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;
|
}
|
}
|