package com.hzs.sale.pub.dto;

import com.hzs.common.domain.sale.ext.SaOrderExt;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: 订单抵扣DTO
 * @Author: jiang chao
 * @Time: 2024/4/18 11:44
 * @Classname: DeductionDTO
 * @PackageName: com.hzs.sale.pub.dto
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class OrderDeductionDTO implements Serializable {

    private static final long serialVersionUID = -7282324840204996990L;

    /**
     * 新订单ID（未发货的订单）
     */
    private Long pkOrderNew;
    /**
     * 新订单
     */
    private SaOrderExt newOrder;

    /**
     * 旧订单ID（已撤单的订单）
     */
    private Long pkOrderOld;
    /**
     * 旧订单
     */
    private SaOrderExt oldOrder;

}
