wcs_serve_wuxikate/WcsMain/ApiClient/DataEntity/WmsEntity/WmsResponse.cs

26 lines
490 B
C#
Raw Normal View History

2025-01-03 14:36:27 +08:00
using Newtonsoft.Json;
using System.Text.Json.Serialization;
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
public class WmsResponse
{
/// <summary>
/// 代码
/// </summary>
[JsonProperty("code")]
public int? Code { get; set; }
/// <summary>
/// 信息
/// </summary>
[JsonProperty("message")]
public string? Message { get; set; }
}
public class WmsResponse<T> : WmsResponse
{
[JsonProperty("data")]
public T? Data { get; set; }
}