56 lines
1.8 KiB
C#
56 lines
1.8 KiB
C#
using WebApi.Library.Enums;
|
|
|
|
namespace WebApi.Project.UniqueKeyApi.Models
|
|
{
|
|
#region Unique Key
|
|
//Insert
|
|
public class Request_InsertUniqueKey
|
|
{
|
|
public string Identity { get; set; } = string.Empty;
|
|
|
|
public string? Data1 { get; set; } = string.Empty;
|
|
public string? Data2 { get; set; } = string.Empty;
|
|
public string? Data3 { get; set; } = string.Empty;
|
|
public string? Data4 { get; set; } = string.Empty;
|
|
public string? Data5 { get; set; } = string.Empty;
|
|
}
|
|
public class Response_InsertUniqueKy
|
|
{
|
|
public string? Identity { get; set; } = string.Empty;
|
|
public string? Result { get; set; } = WebApiResult.Success.ToString();
|
|
}
|
|
|
|
//Select
|
|
public class Request_SelectUniqueKey
|
|
{
|
|
public string Identity { get; set; } = string.Empty;
|
|
}
|
|
public class Response_SelectUniqueKy
|
|
{
|
|
public string? Identity { get; set; } = string.Empty;
|
|
public string? Data1 { get; set; } = string.Empty;
|
|
public string? Data2 { get; set; } = string.Empty;
|
|
public string? Data3 { get; set; } = string.Empty;
|
|
public string? Data4 { get; set; } = string.Empty;
|
|
public string? Data5 { get; set; } = string.Empty;
|
|
}
|
|
|
|
//Update
|
|
public class Request_UpdateUniqueKey
|
|
{
|
|
public string Identity { get; set; } = string.Empty;
|
|
|
|
public string? Data1 { get; set; } = string.Empty;
|
|
public string? Data2 { get; set; } = string.Empty;
|
|
public string? Data3 { get; set; } = string.Empty;
|
|
public string? Data4 { get; set; } = string.Empty;
|
|
public string? Data5 { get; set; } = string.Empty;
|
|
}
|
|
public class Response_UpdateUniqueKy
|
|
{
|
|
public string? Identity { get; set; } = string.Empty;
|
|
public string? Result { get; set; } = WebApiResult.Success.ToString();
|
|
}
|
|
#endregion
|
|
}
|