package com.jeesharp.business.modules.food.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 美食订单保存 DTO（后台管理）
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class FoodBookingOrderSaveDTO extends BaseSaveDTO {

    /**
     * trade订单ID
     */
    private String tradeOrderId;

    /**
     * 统一交易订单主键
     */
    private String unifiedOrderId;

    /**
     * 门店ID
     */
    @NotBlank(message = "门店ID不能为空")
    private String restaurantId;

    /**
     * 套餐ID
     */
    @NotBlank(message = "套餐ID不能为空")
    private String packageId;

    /**
     * 会员ID
     */
    private String memberId;

    /**
     * 数量
     */
    @NotNull(message = "份数不能为空")
    private Integer quantity;

    /**
     * 预订人手机号
     */
    private String guestPhone;
    /**
     * verify编码
     */
    private String verifyCode;
    /**
     * 预订状态
     */
    private String bookStatus;
    /**
     * 结果载荷JSON
     */
    private String resultPayloadJson;
    /**
     * extJSON
     */
    private String extJson;
}
