
package com.czg.order.dto;

import com.czg.order.entity.OrderDetail;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 订单表 实体类。
 *
 * @author ww
 * @since 2025-02-13
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
public class OrderInfoUpDTO implements Serializable {

    @NotNull(message = "订单Id不能为空")
    private Long orderId;

    private Integer seatNum;

    private List<OrderDetail> detailList;
}
