package com.sckw.transport.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;;

import java.io.Serial;
import java.io.Serializable;

/**
 * 地图车辆查询请求
 * @author system
 */
@Data
@Schema(description = "地图车辆查询请求")
public class MapVehicleQueryReq  implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "承运单位ID")
    private Long carrierEntId;

    @Schema(description = "托运单位ID")
    private Long consignEntId;

    @Schema(description = "物流订单号")
    private String logisticOrderNo;

    @Schema(description = "车辆定位状态（1-在线，0-离线，null-全部）")
    private Integer locationStatus;
    @Schema(description = "任务状态")
    private Integer status;
    @Schema(description = "车牌号")
    private String trackNo;

    @Schema(description = "排序类型（1-按时间排序，2-耗时排序，3-异常排序）", example = "1")
    private Integer sortType = 1;

    @Schema(description = "开始日期（yyyy-MM-dd）默认当天")
    private String startDate;

    @Schema(description = "结束日期（yyyy-MM-dd）默认当天")
    private String endDate;

    @Schema(description = "页码", example = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页数量", example = "20")
    private Integer pageSize = 20;
}
