123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707 |
- package com.kmall.admin.entity;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- import java.util.List;
- /**
- * @author Scott
- * @email
- * @date 2017-08-13 10:41:09
- */
- public class OrderEntity implements Serializable {
- private static final long serialVersionUID = 1L;
- //主键
- private Long id;
- //订单序列号
- private String orderSn;
- //会员Id
- private Integer userId;
- //订单状态
- //订单相关状态字段设计,采用单个字段表示全部的订单状态
- //1xx 表示订单取消和删除等状态 0订单创建成功等待付款, 101订单已取消, 102订单已删除
- //2xx 表示订单支付状态 201订单已付款,等待发货
- //3xx 表示订单物流相关状态 300订单已发货, 301用户确认收货
- //4xx 表示订单退换货相关的状态 401 没有发货,退款 402 已收货,退款退货
- private Integer orderStatus;
- //发货状态 商品配送情况;0未发货,1已发货,2已收货,4退货
- private Integer shippingStatus;
- //付款状态 支付状态;0未付款;1付款中;2已付款
- private Integer payStatus;
- //收货人
- private String consignee;
- //国家
- private String country;
- //省
- private String province;
- //地市
- private String city;
- //区县
- private String district;
- //收货地址
- private String address;
- //联系电话
- private String mobile;
- //补充说明
- private String postscript;
- //快递公司Id
- private Long shippingId;
- //快递公司简称(顺丰:SF)
- private String shippingCode;
- //快递公司名称
- private String shippingName;
- //快递单号
- private String shippingNo;
- // 配送员手机
- private String shippingMobile;
- //付款
- private String payId;
- //
- private String payName;
- //快递费用
- private BigDecimal shippingFee;
- //实际需要支付的金额
- private BigDecimal actualPrice;
- //
- private Integer integral;
- //
- private BigDecimal integralMoney;
- //订单总价
- private BigDecimal orderPrice;
- //商品总价
- private BigDecimal goodsPrice;
- //新增时间
- private Date addTime;
- //确认时间
- private Date confirmTime;
- //付款时间
- private Date payTime;
- //重商品额外费用
- private Integer freightPrice;
- //使用的优惠券id
- private Integer couponId;
- //
- private Integer parentId;
- //优惠价格
- private BigDecimal couponPrice;
- //
- private String callbackStatus;
- // 活动Id 团购
- private Integer activityId;
- //订单类型 1:普通订单 2:团购订单
- private String orderType;
- private Integer storeId;
- //
- private String userName;
- // 送达时间
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
- private Date deliveryDate;
- // 送到说明
- private String deliveryRemark;
- // 预计送达时间
- private Date predictTime;
- private String merchOrderSn;
- private String orderBizType;
- private String isPaymentSend;
- private String isEleOrderSend;
- private String isCustomsSend;
- private String buyerPayCheck;
- public String getBuyerPayCheck() {
- return buyerPayCheck;
- }
- public void setBuyerPayCheck(String buyerPayCheck) {
- this.buyerPayCheck = buyerPayCheck;
- }
- public String getIsPaymentSend() {
- return isPaymentSend;
- }
- public void setIsPaymentSend(String isPaymentSend) {
- this.isPaymentSend = isPaymentSend;
- }
- public String getIsEleOrderSend() {
- return isEleOrderSend;
- }
- public void setIsEleOrderSend(String isEleOrderSend) {
- this.isEleOrderSend = isEleOrderSend;
- }
- public String getIsCustomsSend() {
- return isCustomsSend;
- }
- public void setIsCustomsSend(String isCustomsSend) {
- this.isCustomsSend = isCustomsSend;
- }
- public String getOrderBizType() {
- return orderBizType;
- }
- public void setOrderBizType(String orderBizType) {
- this.orderBizType = orderBizType;
- }
- private List<OrderGoodsEntity> orderGoodsEntityList;
- public String getMerchOrderSn() {
- return merchOrderSn;
- }
- public void setMerchOrderSn(String merchOrderSn) {
- this.merchOrderSn = merchOrderSn;
- }
- public String getOrderType() {
- return orderType;
- }
- public void setOrderType(String orderType) {
- this.orderType = orderType;
- }
- /**
- * 设置:主键
- */
- public void setId(Long id) {
- this.id = id;
- }
- /**
- * 获取:主键
- */
- public Long getId() {
- return id;
- }
- public String getShippingCode() {
- return shippingCode;
- }
- public void setShippingCode(String shippingCode) {
- this.shippingCode = shippingCode;
- }
- /**
- * 设置:订单序列号
- */
- public void setOrderSn(String orderSn) {
- this.orderSn = orderSn;
- }
- /**
- * 获取:订单序列号
- */
- public String getOrderSn() {
- return orderSn;
- }
- /**
- * 设置:会员Id
- */
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- /**
- * 获取:会员Id
- */
- public Integer getUserId() {
- return userId;
- }
- /**
- * 设置:订单状态
- */
- public void setOrderStatus(Integer orderStatus) {
- this.orderStatus = orderStatus;
- }
- /**
- * 获取:订单状态
- */
- public Integer getOrderStatus() {
- return orderStatus;
- }
- /**
- * 设置:发货状态
- */
- public void setShippingStatus(Integer shippingStatus) {
- this.shippingStatus = shippingStatus;
- }
- /**
- * 获取:发货状态
- */
- public Integer getShippingStatus() {
- return shippingStatus;
- }
- /**
- * 设置:付款状态
- */
- public void setPayStatus(Integer payStatus) {
- this.payStatus = payStatus;
- }
- /**
- * 获取:付款状态
- */
- public Integer getPayStatus() {
- return payStatus;
- }
- /**
- * 设置:收货人
- */
- public void setConsignee(String consignee) {
- this.consignee = consignee;
- }
- /**
- * 获取:收货人
- */
- public String getConsignee() {
- return consignee;
- }
- /**
- * 设置:国家
- */
- public void setCountry(String country) {
- this.country = country;
- }
- /**
- * 获取:国家
- */
- public String getCountry() {
- return country;
- }
- /**
- * 设置:省
- */
- public void setProvince(String province) {
- this.province = province;
- }
- /**
- * 获取:省
- */
- public String getProvince() {
- return province;
- }
- /**
- * 设置:地市
- */
- public void setCity(String city) {
- this.city = city;
- }
- /**
- * 获取:地市
- */
- public String getCity() {
- return city;
- }
- /**
- * 设置:区县
- */
- public void setDistrict(String district) {
- this.district = district;
- }
- /**
- * 获取:区县
- */
- public String getDistrict() {
- return district;
- }
- public String getShippingNo() {
- return shippingNo;
- }
- public void setShippingNo(String shippingNo) {
- this.shippingNo = shippingNo;
- }
- /**
- * 设置:收货地址
- */
- public void setAddress(String address) {
- this.address = address;
- }
- /**
- * 获取:收货地址
- */
- public String getAddress() {
- return address;
- }
- /**
- * 设置:联系电话
- */
- public void setMobile(String mobile) {
- this.mobile = mobile;
- }
- /**
- * 获取:联系电话
- */
- public String getMobile() {
- return mobile;
- }
- /**
- * 设置:补充说明
- */
- public void setPostscript(String postscript) {
- this.postscript = postscript;
- }
- /**
- * 获取:补充说明
- */
- public String getPostscript() {
- return postscript;
- }
- /**
- * 设置:快递公司Id
- */
- public void setShippingId(Long shippingId) {
- this.shippingId = shippingId;
- }
- /**
- * 获取:快递公司Id
- */
- public Long getShippingId() {
- return shippingId;
- }
- /**
- * 设置:快递公司名称
- */
- public void setShippingName(String shippingName) {
- this.shippingName = shippingName;
- }
- /**
- * 获取:快递公司名称
- */
- public String getShippingName() {
- return shippingName;
- }
- /**
- * 设置:付款
- */
- public void setPayId(String payId) {
- this.payId = payId;
- }
- /**
- * 获取:付款
- */
- public String getPayId() {
- return payId;
- }
- /**
- * 设置:
- */
- public void setPayName(String payName) {
- this.payName = payName;
- }
- /**
- * 获取:
- */
- public String getPayName() {
- return payName;
- }
- /**
- * 设置:快递费用
- */
- public void setShippingFee(BigDecimal shippingFee) {
- this.shippingFee = shippingFee;
- }
- /**
- * 获取:快递费用
- */
- public BigDecimal getShippingFee() {
- return shippingFee;
- }
- /**
- * 设置:实际需要支付的金额
- */
- public void setActualPrice(BigDecimal actualPrice) {
- this.actualPrice = actualPrice;
- }
- /**
- * 获取:实际需要支付的金额
- */
- public BigDecimal getActualPrice() {
- return actualPrice;
- }
- /**
- * 设置:
- */
- public void setIntegral(Integer integral) {
- this.integral = integral;
- }
- /**
- * 获取:
- */
- public Integer getIntegral() {
- return integral;
- }
- /**
- * 设置:
- */
- public void setIntegralMoney(BigDecimal integralMoney) {
- this.integralMoney = integralMoney;
- }
- /**
- * 获取:
- */
- public BigDecimal getIntegralMoney() {
- return integralMoney;
- }
- /**
- * 设置:订单总价
- */
- public void setOrderPrice(BigDecimal orderPrice) {
- this.orderPrice = orderPrice;
- }
- /**
- * 获取:订单总价
- */
- public BigDecimal getOrderPrice() {
- return orderPrice;
- }
- /**
- * 设置:商品总价
- */
- public void setGoodsPrice(BigDecimal goodsPrice) {
- this.goodsPrice = goodsPrice;
- }
- /**
- * 获取:商品总价
- */
- public BigDecimal getGoodsPrice() {
- return goodsPrice;
- }
- /**
- * 设置:新增时间
- */
- public void setAddTime(Date addTime) {
- this.addTime = addTime;
- }
- /**
- * 获取:新增时间
- */
- public Date getAddTime() {
- return addTime;
- }
- /**
- * 设置:确认时间
- */
- public void setConfirmTime(Date confirmTime) {
- this.confirmTime = confirmTime;
- }
- /**
- * 获取:确认时间
- */
- public Date getConfirmTime() {
- return confirmTime;
- }
- /**
- * 设置:付款时间
- */
- public void setPayTime(Date payTime) {
- this.payTime = payTime;
- }
- /**
- * 获取:付款时间
- */
- public Date getPayTime() {
- return payTime;
- }
- /**
- * 设置:配送费用
- */
- public void setFreightPrice(Integer freightPrice) {
- this.freightPrice = freightPrice;
- }
- /**
- * 获取:配送费用
- */
- public Integer getFreightPrice() {
- return freightPrice;
- }
- /**
- * 设置:使用的优惠券id
- */
- public void setCouponId(Integer couponId) {
- this.couponId = couponId;
- }
- /**
- * 获取:使用的优惠券id
- */
- public Integer getCouponId() {
- return couponId;
- }
- /**
- * 设置:
- */
- public void setParentId(Integer parentId) {
- this.parentId = parentId;
- }
- /**
- * 获取:
- */
- public Integer getParentId() {
- return parentId;
- }
- /**
- * 设置:优惠价格
- */
- public void setCouponPrice(BigDecimal couponPrice) {
- this.couponPrice = couponPrice;
- }
- /**
- * 获取:优惠价格
- */
- public BigDecimal getCouponPrice() {
- return couponPrice;
- }
- /**
- * 设置:
- */
- public void setCallbackStatus(String callbackStatus) {
- this.callbackStatus = callbackStatus;
- }
- /**
- * 获取:
- */
- public String getCallbackStatus() {
- return callbackStatus;
- }
- public String getUserName() {
- return userName;
- }
- public void setUserName(String userName) {
- this.userName = userName;
- }
- public Integer getStoreId() {
- return storeId;
- }
- public void setStoreId(Integer storeId) {
- this.storeId = storeId;
- }
- public String getShippingMobile() {
- return shippingMobile;
- }
- public void setShippingMobile(String shippingMobile) {
- this.shippingMobile = shippingMobile;
- }
- public Integer getActivityId() {
- return activityId;
- }
- public void setActivityId(Integer activityId) {
- this.activityId = activityId;
- }
- public Date getDeliveryDate() {
- return deliveryDate;
- }
- public void setDeliveryDate(Date deliveryDate) {
- this.deliveryDate = deliveryDate;
- }
- public String getDeliveryRemark() {
- return deliveryRemark;
- }
- public void setDeliveryRemark(String deliveryRemark) {
- this.deliveryRemark = deliveryRemark;
- }
- public Date getPredictTime() {
- return predictTime;
- }
- public void setPredictTime(Date predictTime) {
- this.predictTime = predictTime;
- }
- public List<OrderGoodsEntity> getOrderGoodsEntityList() {
- return orderGoodsEntityList;
- }
- public void setOrderGoodsEntityList(List<OrderGoodsEntity> orderGoodsEntityList) {
- this.orderGoodsEntityList = orderGoodsEntityList;
- }
- }
|