Schedule

data class Schedule(val id: Int = INT_INVALID, val orderId: Int = INT_INVALID, val dockId: Int = INT_INVALID, val sequence: Int = INT_INVALID, val stateName: String = EMPTY_STR, val job: JobType = JobType.UNKNOWN, val dateInit: String = EMPTY_STR, val dateEnd: String = EMPTY_STR, val hourInit: String = EMPTY_STR, val hourEnd: String = EMPTY_STR, val capacityInfo: List<CapacityInfo> = emptyList(), val arrivalQueueDate: String = EMPTY_STR, val arrivalQueueHour: String = EMPTY_STR, val dateEventInit: String = EMPTY_STR, val hourEventInit: String = EMPTY_STR, val dateEventEnd: String = EMPTY_STR, val hourEventEnd: String = EMPTY_STR, val companyId: Int = INT_INVALID, val addedOnDate: String = EMPTY_STR, val updateOnDate: String = EMPTY_STR)

Schedule is the data model for the schedule.

Constructors

Link copied to clipboard
constructor(id: Int = INT_INVALID, orderId: Int = INT_INVALID, dockId: Int = INT_INVALID, sequence: Int = INT_INVALID, stateName: String = EMPTY_STR, job: JobType = JobType.UNKNOWN, dateInit: String = EMPTY_STR, dateEnd: String = EMPTY_STR, hourInit: String = EMPTY_STR, hourEnd: String = EMPTY_STR, capacityInfo: List<CapacityInfo> = emptyList(), arrivalQueueDate: String = EMPTY_STR, arrivalQueueHour: String = EMPTY_STR, dateEventInit: String = EMPTY_STR, hourEventInit: String = EMPTY_STR, dateEventEnd: String = EMPTY_STR, hourEventEnd: String = EMPTY_STR, companyId: Int = INT_INVALID, addedOnDate: String = EMPTY_STR, updateOnDate: String = EMPTY_STR)

Properties

Link copied to clipboard

String The added on.

Link copied to clipboard

String The arrival queue date.

Link copied to clipboard

String The arrival queue hour.

Link copied to clipboard

List<CapacityInfo> The capacities of the schedule.

Link copied to clipboard

Int The related company id.

Link copied to clipboard

String The end date of the schedule.

Link copied to clipboard

String The end date of the event.

Link copied to clipboard

String The initial date of the event.

Link copied to clipboard

String The initial date of the schedule.

Link copied to clipboard
val dockId: Int

Int The related dock id.

Link copied to clipboard

String The end hour of the schedule.

Link copied to clipboard

String The end hour of the event.

Link copied to clipboard

String The initial hour of the event.

Link copied to clipboard

String The initial hour of the schedule.

Link copied to clipboard
val id: Int

Int The id.

Link copied to clipboard

JobType The job to be performed on the schedule. Ex. Pickup, Delivery, etc.

Link copied to clipboard

Int The related order id.

Link copied to clipboard

Int The sequence number of the schedule. Related to the order.

Link copied to clipboard

String The state name. Current state of the schedule.

Link copied to clipboard

String The update on.