using System;
using System.Collections.Generic;
using System.Text;

namespace KiMailOrderAgent.Models
{
    public class ExtractedOrder
    {
        public string Id { get; set; } = Guid.NewGuid().ToString();

        public ExtractedCustomer Customer { get; set; } = new();

        public List<ExtractedOrderItem> Items { get; set; } = new();

        public string? OriginalMailFrom { get; set; }
        public string? OriginalMailSubject { get; set; }

        public double Confidence { get; set; }

        public ApprovalStatus ApprovalStatus { get; set; } = ApprovalStatus.Pending;
        public ProcessingStatus ProcessingStatus { get; set; } = ProcessingStatus.PendingApproval;
    }
}
