package com.yc.ship.module.trade.controller.admin.orderjzdetail.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Schema(description = "管理后台 - 批量核销请求 VO")
@Data
public class OrderJzDetailBatchSignReqVO {


    @Schema(description = "接站人员ID列表")
    private List<Long> ids;

    @Schema(description = "签到信息列表")
    private List<SignItem> items;

    @Schema(description = "核销备注", example = "批量核销")
    private String signRemark;

    @Data
    public static class SignItem {
        @Schema(description = "记录ID（已存在则为更新，不存在则为新增）")
        private Long id;

        @Schema(description = "游客ID")
        private Long visitorId;

        @Schema(description = "航次ID")
        private Long voyageId;

        @Schema(description = "订单ID")
        private Long orderId;
    }
}
