serv full ticket

This commit is contained in:
mmrbnjd
2024-05-01 15:42:21 +03:30
parent 827aa36860
commit 720b2f00ce
23 changed files with 353 additions and 58 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class AddSubTicket
{
[Required]
public int TicketID { get; set; }
[Required]
public string Text { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs.Serch
{
public interface IFildGlobalItemSerch
{
public int PageIndex { get; set; }
public int PageSize { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs.Serch
{
public class ItemSerchGetTicket : IFildGlobalItemSerch
{
public int? TicketID { get; set; }
public string? Title { get; set; }
public int PageIndex { get; set; } = 1;
public int PageSize { get; set; } = 5;
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class SubTicketDTO
{
public string Text { get; set; }
public string Date { get; set; }
public string Time { get; set; }
public SideType Type { get; set; }
public string MsgType { get; set; }
}
}

20
Shared/DTOs/TicketDTO.cs Normal file
View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class TicketDTO
{
public int TicketID { get; set; }
public string Title { get; set; }
public string CreateDate { get; set; }
public string CreateTime { get; set; }
public string EndDate { get; set; }
public string EndTime { get; set; }
public StatusTicket Status { get; set; }
public string MsgStatus { get; set; }
}
}