32 lines
934 B
C#
32 lines
934 B
C#
using Fitness_core_BE.Models.Enums;
|
|
|
|
namespace Fitness_core_BE.DTOs.Ticket
|
|
{
|
|
public class TicketDto
|
|
{
|
|
public Guid TicketId { get; set; }
|
|
public string MainReason { get; set; }
|
|
public DateTime CreateDate { get; set; }
|
|
|
|
// User Information
|
|
public Guid UserId { get; set; }
|
|
public string UserName { get; set; }
|
|
public string UserEmail { get; set; }
|
|
|
|
// Admin Information (nullable)
|
|
public Guid? AdminId { get; set; }
|
|
public string? AdminName { get; set; }
|
|
|
|
// Category Information
|
|
public Guid? TicketCategoryId { get; set; }
|
|
public string? TicketCategoryName { get; set; }
|
|
public PriorityLevel? PriorityLevel { get; set; }
|
|
|
|
// Rating
|
|
public int? UserRating { get; set; }
|
|
|
|
// Status Information
|
|
public TicketStatusEnum TicketStatus { get; set; }
|
|
}
|
|
}
|