Protected
items
items: Map<
string,
{
actualDuration?: number;
additionalServices?: { notes?: string; price: number; serviceId: string }[];
barberId: string;
cancellationReason?: string;
cancelledAt?: Date;
cancelledBy?: string;
completedAt?: Date;
completedBy?: string;
createdAt: Date;
customerId: string;
endTime: Date;
feedback?: {
cleanliness?: number;
comment?: string;
rating?: number;
serviceQuality?: number;
timeliness?: number;
};
id: string;
notes?: string;
paymentMethod?: "CASH"
| "CARD"
| "DIGITAL_WALLET";
paymentStatus?: "PAID" | "PENDING" | "FAILED";
reschedulingHistory?: {
previousBarberId: string;
previousEndTime: Date;
previousStartTime: Date;
reason?: string;
rescheduledAt: Date;
rescheduledBy: string;
}[];
serviceId: string;
startTime: Date;
status: "pending"
| "confirmed"
| "cancelled"
| "completed";
totalAmount?: number;
updatedAt: Date;
},
>