yujian
2019-01-22 88b54772dbcf5ecab1e2316e4e4626ac901b8908
fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrder.java
@@ -20,18 +20,23 @@
@Table("yeshi_ec_common_order")
public class CommonOrder {
   // 订单状态   1-付款,成功  2-结算(已收货)   3-维权  4-失效
   // 订单状态 1-付款,成功 2-结算(已收货) 3-维权 4-失效
   public final static int STATE_FK = 1;
   public final static int STATE_JS = 2;
   public final static int STATE_WQ = 3;
   public final static int STATE_SX = 4;
   
   // 整个订单状态 1-有效  2-部分有效/失效  3-失效
   public final static int STATE_WHOLE_ORDER_YOUXIAO = 1;
   public final static int STATE_WHOLE_ORDER_BUFENYOUXIAO = 2;
   public final static int STATE_WHOLE_ORDER_SHIXIAO = 3;
   // 订单红包类型图片
   public final static String TYPE_FANLI = "http://ec-1255749512.file.myqcloud.com/resource/order/icon_fanli.png";
   public final static String TYPE_INVITE = "http://ec-1255749512.file.myqcloud.com/resource/order/icon_invite.png";
   public final static String TYPE_SHARE = "http://ec-1255749512.file.myqcloud.com/resource/order/icon_share.png";
   @Column(name = "co_id")
   private Long id;
@@ -67,6 +72,11 @@
   @Column(name = "co_state")
   private Integer state;
   // 整个订单状态:有效 、 部分有效/失效  、  失效
   @Expose
   @Column(name = "co_state_whole_order")
   private Integer stateWholeOrder;
   // 效果预估
   @Column(name = "co_estimate")
   private BigDecimal estimate;
@@ -86,10 +96,13 @@
   // 下单时间-第三方创建时间
   @Column(name = "co_third_create_time")
   private Date thirdCreateTime;
   // 收货时间-结算时间
   @Column(name = "co_settle_time")
   private Date settleTime;
   @Column(name = "co_order_by")
   private Integer orderBy;// 子订单的排序值
   // 创建时间
   @Column(name = "co_create_time")
@@ -98,11 +111,11 @@
   // 更新时间
   @Column(name = "co_update_time")
   private Date updateTime;
   public CommonOrder() {
   }
   public CommonOrder(Long id) {
      this.id = id;
   }
@@ -219,6 +232,14 @@
      this.settleTime = settleTime;
   }
   public Integer getOrderBy() {
      return orderBy;
   }
   public void setOrderBy(Integer orderBy) {
      this.orderBy = orderBy;
   }
   public Date getCreateTime() {
      return createTime;
   }
@@ -235,4 +256,12 @@
      this.updateTime = updateTime;
   }
   public Integer getStateWholeOrder() {
      return stateWholeOrder;
   }
   public void setStateWholeOrder(Integer stateWholeOrder) {
      this.stateWholeOrder = stateWholeOrder;
   }
}