New file |
| | |
| | | package com.hz.his.dto.order; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * 订单子单商品关联的优惠活动 |
| | | * @USER: fhx |
| | | * @DATE: 2024/5/8 |
| | | **/ |
| | | @Data |
| | | public class OrderItemPreferentialDto { |
| | | |
| | | /** 订单id(OrdersTotal) */ |
| | | private String orderId; |
| | | /** 一级子订单id(OrderItem) */ |
| | | private String orderItemId; |
| | | |
| | | /** 优惠活动名称 */ |
| | | private String name; |
| | | /** 来源类型 */ |
| | | private String sourceType; |
| | | /** 来源标识 */ |
| | | private String sourceId; |
| | | |
| | | /** 辅助字段1 */ |
| | | private String common1Id; |
| | | /** 辅助字段2 */ |
| | | private String common2Id; |
| | | /** 辅助数值 */ |
| | | private Integer commonNum; |
| | | |
| | | /** 活动类型(ActivityPreferentialConstants) */ |
| | | private String type; |
| | | |
| | | /** 优惠数值 */ |
| | | private BigDecimal valNum; |
| | | /** 赠送优惠json */ |
| | | private String giftJson; |
| | | |
| | | /** 优惠计算排序 */ |
| | | private Integer sortNum; |
| | | /** 优惠前价格 */ |
| | | private BigDecimal beforePrice = BigDecimal.ZERO; |
| | | /** 优惠后价格 */ |
| | | private BigDecimal afterPrice = BigDecimal.ZERO; |
| | | /** 优惠价格(优惠前-优惠后) */ |
| | | private BigDecimal preferentialPrice = BigDecimal.ZERO; |
| | | |
| | | |
| | | //////////////////////////////////////////////////////////////////////////////////////////// |
| | | |
| | | public OrderItemPreferentialDto() { |
| | | } |
| | | } |