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 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 PrepaidRechargeLedgerPageReqVO extends PageParam {

    @Schema(description = "充值日期-开始", example = "2024-01-01")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate rechargeDateStart;

    @Schema(description = "充值日期-结束", example = "2024-01-31")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate rechargeDateEnd;

    @Schema(description = "组团社", example = "长江国际旅行社")
    private String travelAgency;

    @Schema(description = "充值方式（1：转账充值，2：自动充值）", example = "1")
    private Integer paymentType;

}
