package com.fizz.business.form;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
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
@Builder
public class QueryTargetForm implements Serializable {

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

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

    private String unitCode;
    private String groupNo;
    private String shiftNo;
    private String type;
}
