package com.fizz.business.form;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author chenhao
 * @date 2023/04/26
 */
@Getter
@Setter
public class QueryEventForm extends PageForm implements Serializable {

    @Schema(description = "开始日期,yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @Schema(description = "结束日期,yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @Schema(description = "入口卷号")
    private String entryMatId;
}
