...
This commit is contained in:
18
Shared/DTOs/CTicketDto.cs
Normal file
18
Shared/DTOs/CTicketDto.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 CTicketDto
|
||||
{
|
||||
public string CompanyID { get; set; }
|
||||
[Required]
|
||||
public string Title { get; set; }
|
||||
[Required]
|
||||
public string Text { get; set; }
|
||||
}
|
||||
}
|
17
Shared/DTOs/CTicketNoAuthenticationDto.cs
Normal file
17
Shared/DTOs/CTicketNoAuthenticationDto.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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 CTicketNoAuthenticationDto:CTicketDto
|
||||
{
|
||||
[Required]
|
||||
public string Mobile { get; set; }
|
||||
[Required]
|
||||
public string FullName { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user