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

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

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class TransferStationPageDTO extends BaseQueryDTO {


    @Schema(description = "姓名")
    private String userName;

    @Schema(description = "送训单位名称")
    private String sendingUnitName;
    
    @Schema(description = "承训单位名称")
    private String trainingUnitName;

    @Schema(description = "出发地")
    private String sendingAddress;

    @Schema(description = "目的地")
    private String destinationAddress;

    @Schema(description = "车次/航班")
    private String trainNumber;

    @Schema(description = "联系电话")
    private String phonenumber;

    @Schema(description = "班次ID")
    private Long flightId;

    @Schema(description = "班次名称")
    private String flightName;

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

    /**
     * 开训时间
     */
    @Schema(description = "开训时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trainingTime;
}
