[성현모] CPMeta 기능 구현 완료
This commit is contained in:
@ -1,7 +1,54 @@
|
||||
using WebApi.Library.Enums;
|
||||
using SystemX.Core.DB;
|
||||
using WebApi.Library.Enums;
|
||||
|
||||
namespace WebApi.Project.UniqueKeyApi.Models
|
||||
{
|
||||
#region CPMeta Wbms
|
||||
|
||||
//Wbms Meta Insert or Update
|
||||
public class Request_SetWbmsMeta
|
||||
{
|
||||
//pk
|
||||
public string ProductID { get; set; } = string.Empty;
|
||||
//uk
|
||||
public string? MacAddress1 { get; set; } = string.Empty;
|
||||
public string? MacAddress2 { get; set; } = string.Empty;
|
||||
|
||||
//value
|
||||
public string? Type { get; set; } = string.Empty;
|
||||
public string? ProductNo { get; set; } = string.Empty;
|
||||
public string? SpareValue { get; set; } = string.Empty;
|
||||
|
||||
public int ShardID { get; set; } = 1;
|
||||
}
|
||||
public class Response_SetWbmsMeta
|
||||
{
|
||||
public string ProductID { get; set; } = string.Empty;
|
||||
public string Result { get; set; } = string.Empty;
|
||||
public string Message { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
//Wbms Meta Select
|
||||
public class Request_GetWbmsMetaByProductID
|
||||
{
|
||||
public string ProductID { get; set; } = string.Empty;
|
||||
public int ShardID { get; set; } = 1;
|
||||
}
|
||||
public class Request_GetWbmsMetaByMacAddress
|
||||
{
|
||||
public string MacAddress { get; set; } = string.Empty;
|
||||
public int ShardID { get; set; } = 1;
|
||||
}
|
||||
|
||||
public class Response_GetWbms
|
||||
{
|
||||
public List<tWbms> Wbms { get; set; }
|
||||
public string Result { get; set; } = string.Empty;
|
||||
public string Message { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unique Key
|
||||
//Insert
|
||||
public class Request_InsertUniqueKey
|
||||
|
||||
Reference in New Issue
Block a user