package com.yc.ship.module.trade.controller.admin.report.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.LocalDate;
import java.util.List;

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

/**
 * 订单收入台账分页查询 Request VO
 *
 * @author 管理员
 */
@Schema(description = "管理后台 - 订单收入台账分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IncomeOrderLedgerPageReqVO extends PageParam {

    @Schema(description = "订单编号", example = "CJXLY-20260204-YC-1")
    private String orderNo;

    @Schema(description = "订单状态（支持多选）", example = "1")
    private List<Integer> orderStatus;

    @Schema(description = "支付状态（支持多选）", example = "1")
    private List<Integer> paymentStatus;

    @Schema(description = "开航时间", example = "2024-03-01")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate sailTime;

    @Schema(description = "组团社（支持多选）", example = "长江国际旅行社")
    private List<String> travelAgency;

    @Schema(description = "游轮ID", example = "1")
    private Long shipId;

    @Schema(description = "航线名称", example = "重庆-宜昌三峡游")
    private String routeName;

    @Schema(description = "房型名称", example = "标准间")
    private String roomTypeName;

}
