提交 | 用户 | age
|
0741bd
|
1 |
package com.hz.his.dto.order; |
Z |
2 |
|
|
3 |
import lombok.Data; |
|
4 |
|
|
5 |
import java.math.BigDecimal; |
|
6 |
import java.util.List; |
|
7 |
|
|
8 |
/** |
|
9 |
* p-his开单item参数 |
|
10 |
* |
|
11 |
* @Author: zhouxiang |
|
12 |
* @Date: 2022/09/01/15:45 |
|
13 |
* @Description: |
|
14 |
*/ |
|
15 |
@Data |
|
16 |
public class OrderItemPHisDto { |
|
17 |
/**必填 商品类型(OrderItemConstants) crm填默认project,充值就填recharge,纯商品订单填retail零售, */ |
|
18 |
private String type; |
64c371
|
19 |
/**必填 子单总价,实付价格(元)(暂时用不上)*/ |
8ddd25
|
20 |
private BigDecimal total; |
64c371
|
21 |
/**必填 子单总积分,实付积分(暂时用不上)*/ |
8ddd25
|
22 |
private BigDecimal totalIntegral; |
99380c
|
23 |
/**非必填 子单总积分,开单时应付总积分(CRM积分订单时必填)*/ |
F |
24 |
private BigDecimal totalPoints; |
aaed55
|
25 |
/**必填 折扣算法*/ |
C |
26 |
private Integer discountAlgorithm = DISCOUNT_ALGORITHM_PRICE; |
db893c
|
27 |
/**非必填 折扣(单位:百分比) 必填,默认100,不传后台默认100*/ |
0741bd
|
28 |
private BigDecimal discount; |
9e43ec
|
29 |
/** 优惠券金额(元)必填,不传则默认0 */ |
F |
30 |
private BigDecimal couponTotal; |
|
31 |
/** 优惠福利总金额(元)必填,不传则默认0 */ |
|
32 |
private BigDecimal preferentialTotal; |
e907af
|
33 |
/**当前是否允许低分抵扣现金*/ |
F |
34 |
private Boolean isCanUseIntegralCash = false; |
ab691d
|
35 |
/**抵扣现金金额*/ |
F |
36 |
private BigDecimal cash = BigDecimal.ZERO; |
|
37 |
/**抵扣现金金额需要支付的积分*/ |
|
38 |
private BigDecimal integralCash = BigDecimal.ZERO; |
0741bd
|
39 |
/**必填 购买数量 必填,默认0*/ |
Z |
40 |
private Integer buyNum; |
|
41 |
/**必填 项目id/商品id/套餐标识/其他标识(公用标识) 必填*/ |
|
42 |
private String commonId; |
|
43 |
|
|
44 |
/**非必填 第三方item标识 */ |
|
45 |
private String commonItemId; |
e907af
|
46 |
/**非必填 第三方item的spu标识 */ |
F |
47 |
private String commonItemGoodsId; |
0741bd
|
48 |
/**非必填 身体部位标识 */ |
Z |
49 |
private String bodyPartsId; |
|
50 |
/**非必填 身体部位名称 */ |
|
51 |
private String bodyPartsName; |
|
52 |
/**非必填 卡包标识(UserCard) */ |
|
53 |
private String userCardId; |
|
54 |
/**非必填 平台类型关联商品id 在phis下单crm商品必填*/ |
|
55 |
private String platformTypeId; |
db893c
|
56 |
/**非必填 平台类型(艾心荟、p-his、其他,默认p-his)*/ |
Z |
57 |
private String platformType; |
240676
|
58 |
/**非必填 是否限购(0:否,1:是),默认:1*/ |
Z |
59 |
private String isLimitBug; |
0741bd
|
60 |
|
bc805b
|
61 |
/**过渡商品类型必填信息*/ |
C |
62 |
private OrderTransitionGoodsVo orderTransitionGoods; |
39f7be
|
63 |
/**商品积分信息,这里不为空就以这里为主*/ |
C |
64 |
private OrderItemIntegralVo orderItemIntegral; |
|
65 |
|
0741bd
|
66 |
/**非必填 卡包标识 */ |
Z |
67 |
private List<CardItemInfoDto> cardItemInfoIds; |
|
68 |
|
1978a7
|
69 |
/** 诉求分类idList */ |
F |
70 |
private List<String> appealTypeIdList; |
|
71 |
|
e1990f
|
72 |
/** 子单优惠福利数据 */ |
F |
73 |
private List<OrderItemPreferentialDto> orderItemPreferentialList; |
aaed55
|
74 |
|
C |
75 |
/**折扣算法-单价算(单价乘以折扣)*/ |
|
76 |
public static final int DISCOUNT_ALGORITHM_PRICE = 0; |
|
77 |
/**折扣算法-总价算(总价乘以折扣)*/ |
|
78 |
public static final int DISCOUNT_ALGORITHM_TOTAL = 1; |
|
79 |
|
0741bd
|
80 |
} |