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

import com.jeesharp.business.modules.member.vo.MemberOrderDisplay;
import com.jeesharp.framework.pojo.vo.BaseListVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 美食预订订单列表 VO；含门店/套餐名称及会员展示字段（Application 批量补全）。
 *
 * @author jeesharp
 * @since 2026-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "美食预订订单列表")
public class FoodBookingOrderListVO extends BaseListVO implements MemberOrderDisplay {

    private String tradeOrderId;
    private String unifiedOrderId;
    private String restaurantId;

    /** 门店名称（列表展示） */
    private String restaurantName;

    private String packageId;

    /** 套餐名称（列表展示） */
    private String packageName;

    private String memberId;

    @Schema(description = "会员编号")
    private String memberNo;

    @Schema(description = "会员昵称")
    private String memberNickname;

    @Schema(description = "会员手机号码")
    private String memberMobile;

    private Integer quantity;
    private String guestPhone;
    private String verifyCode;
    private String bookStatus;
    private String resultPayloadJson;
    private LocalDateTime usedTime;
    private LocalDateTime cancelTime;
    private String extJson;
    private LocalDateTime createDate;
    private LocalDateTime updateDate;
}
