package com.czg.order.dto;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;

/**
 * @author ww
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MergeOrderDTO implements Serializable {
    @NotNull(message = "订单Id不能为空")
    private Long sourceOrderId;
    /**
     * 目标订单Id
     */
    private Long targetOrderId;
    /**
     * 目标台桌
     */
    private String targetTableCode;
    /**
     * 转台详情Id
     */
    private List<Long> detailIds;

    /**
     * 是否全部商品转台 0:否 1:是
     */
    private Integer allMerge;
}
