package com.ffii.fpsms.modules.deliveryOrder.web.models

import com.fasterxml.jackson.annotation.JsonFormat
import java.time.LocalDateTime
import java.time.LocalTime

data class TruckScheduleDashboardResponse(
    val storeId: String?,
    val truckId: Long?,
    val truckLanceCode: String?,
    @JsonFormat(pattern = "HH:mm")
    val truckDepartureTime: LocalTime?,
    val numberOfShopsToServe: Int,
    val numberOfPickTickets: Int,
    val totalItemsToPick: Int,
    val numberOfTicketsReleased: Int,
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val firstTicketStartTime: LocalDateTime?,
    val numberOfTicketsCompleted: Int,
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val lastTicketEndTime: LocalDateTime?,
    val pickTimeTakenMinutes: Long?
)


