serv full ticket
This commit is contained in:
18
Shared/DTOs/AddSubTicket.cs
Normal file
18
Shared/DTOs/AddSubTicket.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
14
Shared/DTOs/Serch/IFildGlobalItemSerch.cs
Normal file
14
Shared/DTOs/Serch/IFildGlobalItemSerch.cs
Normal 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; }
|
||||
}
|
||||
}
|
16
Shared/DTOs/Serch/ItemSerchGetTicket.cs
Normal file
16
Shared/DTOs/Serch/ItemSerchGetTicket.cs
Normal 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;
|
||||
}
|
||||
}
|
17
Shared/DTOs/SubTicketDTO.cs
Normal file
17
Shared/DTOs/SubTicketDTO.cs
Normal 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
20
Shared/DTOs/TicketDTO.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user