|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.math.BigDecimal; | 
|---|
|  |  |  | import java.time.LocalDateTime; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | public class OrderDTO extends AbstractTransDTO { | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "支付单号") | 
|---|
|  |  |  | private String paymentTrId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "积分商品列表") | 
|---|
|  |  |  | private List<OrderPointGoodsListDTO> pointGoodsList; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "优惠券编码") | 
|---|
|  |  |  | private String memberCouponCode; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "优惠券名称") | 
|---|
|  |  |  | private String memberCouponName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "优惠券金额") | 
|---|
|  |  |  | private BigDecimal memberCouponAmount; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "会员等级名称") | 
|---|
|  |  |  | private String memberName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "折扣类型(discount_type)") | 
|---|
|  |  |  | @DictTrans(target = "memberDiscountTypeStr", codeType = "DISCOUNT_TYPE") | 
|---|
|  |  |  | private String memberDiscountType; | 
|---|
|  |  |  | private String memberDiscountTypeStr; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "会员折扣") | 
|---|
|  |  |  | private BigDecimal memberDiscountRatio; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "优惠金额(每扎)") | 
|---|
|  |  |  | private BigDecimal memberDiscountAmount; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private List<OrderItemListDTO> items; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "优惠券类型(discount_type)") | 
|---|
|  |  |  | @DictTrans(target = "couponDiscountTypeName",codeType = "COUPON_TYPE") | 
|---|
|  |  |  | private String couponDiscountType; | 
|---|
|  |  |  | private String couponDiscountTypeName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = " 使用条件(满多少钱)") | 
|---|
|  |  |  | private String minOrderAmount; | 
|---|
|  |  |  | } | 
|---|