| | |
| | | import com.matrix.core.pojo.EntityDTO; |
| | | import com.matrix.core.anotations.Extend; |
| | | import com.matrix.core.tools.DateUtil; |
| | | import io.swagger.models.auth.In; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | |
| | | public class ShopOrder extends EntityDTO { |
| | | |
| | | /** |
| | | * 支付方式-微信支付 |
| | | */ |
| | | public static final int SHOP_ORDER_PAY_METHOD_WX = 1; |
| | | |
| | | /** |
| | | * 支付方式-vip会籍卡 |
| | | */ |
| | | public static final int SHOP_ORDER_PAY_METHOD_VIPCARD = 2; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 订单微信支付状态(待支付) |
| | | */ |
| | | public static final int ORDER_WX_STATUS_WAIT_PAY = 1; |
| | | |
| | | /** |
| | | * 订单微信支付状态(支付成功) |
| | | */ |
| | |
| | | public static final int ACTIVITY_TYPE_SECKILL = 3; |
| | | |
| | | /** |
| | | * 物流配送 |
| | | */ |
| | | public static final int SHIPPING_METHOD_WL = 1; |
| | | |
| | | /** |
| | | * 门店自提 |
| | | */ |
| | | public static final int SHIPPING_METHOD_MDZT = 2; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | private Integer id; |
| | |
| | | /** |
| | | * 用户ID |
| | | */ |
| | | private String userId; |
| | | |
| | | private Long userId; |
| | | /** |
| | | * 支付积分 |
| | | */ |
| | | private Integer scorePay; |
| | | |
| | | /** |
| | | * 下单时间 |
| | |
| | | * 支付状态(1=待支付,2=支付成功,3=支付失败) |
| | | */ |
| | | private Integer payStatus; |
| | | |
| | | /** |
| | | * 支付方式1微信,2 vipCard余额 |
| | | */ |
| | | private Integer payMethod; |
| | | |
| | | /** |
| | | * 优惠说明 |
| | |
| | | /** |
| | | * 配送方式(1=物流,2=门店自取) |
| | | */ |
| | | private String shippingMethod; |
| | | private Integer shippingMethod; |
| | | |
| | | /** |
| | | * 配送门店ID |
| | |
| | | return orderNo; |
| | | } |
| | | |
| | | public Integer getScorePay() { |
| | | return scorePay; |
| | | } |
| | | |
| | | public void setScorePay(Integer scorePay) { |
| | | this.scorePay = scorePay; |
| | | } |
| | | |
| | | public void setOrderNo(String orderNo) { |
| | | this.orderNo = orderNo; |
| | |
| | | this.commodityPrice = commodityPrice; |
| | | } |
| | | |
| | | public String getUserId() { |
| | | public Long getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(String userId) { |
| | | public void setUserId(Long userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | |
| | | this.remarks = remarks; |
| | | } |
| | | |
| | | public String getShippingMethod() { |
| | | public Integer getShippingMethod() { |
| | | return shippingMethod; |
| | | } |
| | | |
| | | public void setShippingMethod(String shippingMethod) { |
| | | public void setShippingMethod(Integer shippingMethod) { |
| | | this.shippingMethod = shippingMethod; |
| | | } |
| | | |
| | |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | |
| | | public Integer getPayMethod() { |
| | | return payMethod; |
| | | } |
| | | |
| | | public void setPayMethod(Integer payMethod) { |
| | | this.payMethod = payMethod; |
| | | } |
| | | |
| | | public String getWxOrderNo() { |
| | | return wxOrderNo; |
| | | } |
| | | |
| | | |
| | | |
| | | public void setWxOrderNo(String wxOrderNo) { |
| | | this.wxOrderNo = wxOrderNo; |
| | | } |