package com.xiaoniu.subsystem.business.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoniu.common.core.resdata.BaseQueryDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Schema(description = "满意度调查分页参数")
public class SatisfactionSurveyPageDTO extends BaseQueryDTO {

    @Schema(description = "专业（班次）名称")
    private String flightName;

    @Schema(description = "班次id")
    private String flightId;

    @Schema(description = "培训地址")
    private String trainingSite;

    @Schema(description = "合计分数-低")
    private String totalScore1;

    @Schema(description = "合计分数-高")
    private String totalScore2;

    @Schema(description = "年度")
    private String year;

    @Schema(description = "开训时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date trainingTime;

    /**
     * 主键集合
     */
    @Schema(description = "主键集合")
    private String ids;
}
