AssignedOrder

data class AssignedOrder(val orderTitle: String, val orderNumber: String, val subProjectId: String?, val orderLocation: String, val orderStatus: OrderStatus, val channelId: String?)

Represents an order that has been assigned to the current user.

This class encapsulates all the necessary information about an assigned order, including its status and associated chat details.

Constructors

Link copied to clipboard
constructor(orderTitle: String, orderNumber: String, subProjectId: String?, orderLocation: String, orderStatus: OrderStatus, channelId: String?)

Properties

Link copied to clipboard

The ID of the chat channel associated with this order. Null if no chat has been initiated yet.

Link copied to clipboard

The location associated with this order, typically the delivery address.

Link copied to clipboard

A unique identifier for the order.

Link copied to clipboard

The current status of the order (e.g., pending, in progress, completed).

Link copied to clipboard

The title or brief description of the order.

Link copied to clipboard

The ID of the sub-project this order belongs to, if any. Null if not part of a sub-project.