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

import com.yc.ship.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static com.yc.ship.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单接站人员名单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderJzDetailPageReqVO extends PageParam {

    @Schema(description = "接站单ID", example = "18565")
    private Long jzId;

    private String batchNo;

    @Schema(description = "抵达时间")
    private String arriveTime;

    @Schema(description = "接站地址")
    private String address;

    @Schema(description = "接站联系人", example = "李四")
    private String name;

    private String idCard;

    @Schema(description = "接站联系电话")
    private String phone;

    @Schema(description = "备注车次航班", example = "随便")
    private String remark;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;


    /**
     * 航次编号
     */
    private String voyageId;

    private String oid;

    private String queryCode;

    @Schema(description = "分车号")
    private String dispatchNo;

    @Schema(description = "核销状态：1-已核销，0-未核销", example = "1")
    private Integer signStatus;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "分销商ID")
    private String otaId;

    @Schema(description = "分销商ID列表")
    private List<String> otaIds;
}