Files
helpdesk/backend/HelpDesk.Models/DTOs/SLADtos.cs
T

30 lines
852 B
C#

namespace HelpDesk.Models.DTOs;
public class SLADto
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public int ResponseTimeHours { get; set; }
public int ResolutionTimeHours { get; set; }
public bool IsActive { get; set; }
public DateTime CreatedAt { get; set; }
}
public class CreateSLARequest
{
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public int ResponseTimeHours { get; set; }
public int ResolutionTimeHours { get; set; }
}
public class UpdateSLARequest
{
public string? Name { get; set; }
public string? Description { get; set; }
public int? ResponseTimeHours { get; set; }
public int? ResolutionTimeHours { get; set; }
public bool? IsActive { get; set; }
}