Files
EBoard/电子展板/Models/RetValue.cs
2025-09-24 12:02:13 +08:00

22 lines
507 B
C#

using Nancy.Swagger.Annotations.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace .Models
{
[Model("返回数据")]
public class RetValue<T>
{
[ModelProperty("返回状态")]
public int state { get; set; }
[ModelProperty("返回消息")]
public string message { get; set; }
[ModelProperty("返回数据")]
public T data { get; set; }
}
}