namespace WorkTracker.Domain;

public sealed class CalendarEventDocument
{
    public string Id { get; set; } = string.Empty;

    public DateOnly StartDate { get; set; }

    public DateOnly? EndDate { get; set; }

    public CalendarEventType EventType { get; set; } = CalendarEventType.Generic;

    public string Description { get; set; } = string.Empty;

    public TimeOnly? StartTime { get; set; }

    public TimeOnly? EndTime { get; set; }

    public decimal? DurationHours { get; set; }

    public DateTimeOffset CreatedAtUtc { get; set; } = DateTimeOffset.UtcNow;

    public DateTimeOffset UpdatedAtUtc { get; set; } = DateTimeOffset.UtcNow;
}