using CsvHelper.Configuration.Attributes;

namespace PowderCoating.Application.DTOs.Import;

/// <summary>
/// DTO for importing appointments from CSV files.
/// </summary>
public class AppointmentImportDto
{
    [Name("AppointmentNumber")]
    public string? AppointmentNumber { get; set; }

    [Name("CustomerEmail")]
    public string? CustomerEmail { get; set; }

    [Name("AppointmentType")]
    public string AppointmentType { get; set; } = string.Empty;

    [Name("Status")]
    public string Status { get; set; } = "Scheduled";

    [Name("ScheduledStart")]
    public DateTime ScheduledStart { get; set; }

    [Name("ScheduledEnd")]
    public DateTime ScheduledEnd { get; set; }

    [Name("Title")]
    public string Title { get; set; } = string.Empty;

    [Name("Description")]
    public string? Description { get; set; }

    [Name("Location")]
    public string? Location { get; set; }

    [Name("Notes")]
    public string? Notes { get; set; }
}
