using PowderCoating.Core.Enums;

namespace PowderCoating.Application.DTOs.BugReport;

public class BugReportDto
{
    public int Id { get; set; }
    public string Title { get; set; } = string.Empty;
    public string Description { get; set; } = string.Empty;
    public string SubmittedByUserId { get; set; } = string.Empty;
    public string SubmittedByUserName { get; set; } = string.Empty;
    public string? CompanyName { get; set; }
    public BugReportPriority Priority { get; set; }
    public BugReportStatus Status { get; set; }
    public string? ResolutionNotes { get; set; }
    public DateTime? ResolvedAt { get; set; }
    public string? ResolvedBy { get; set; }
    public DateTime CreatedAt { get; set; }
    public DateTime? UpdatedAt { get; set; }
    public int CompanyId { get; set; }
    public List<BugReportAttachmentDto> Attachments { get; set; } = new();
}
