14 lines
377 B
C#
14 lines
377 B
C#
using System.Text.Json.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace TOOHUCardAPI.DTO
|
|
{
|
|
public abstract class AbstractResponse
|
|
{
|
|
public static string SUCCESS_CODE = "0000";
|
|
[JsonProperty("code")]
|
|
public string Code { get; set; } = SUCCESS_CODE;
|
|
[JsonProperty("msg")]
|
|
public string Message { get; set; } = string.Empty;
|
|
}
|
|
} |