You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
670 B
33 lines
670 B
2 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
namespace WebApplication1.Models
|
||
|
{
|
||
|
public class ResultDto
|
||
|
{
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string code { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public bool success { get; set; }
|
||
|
/// <summary>
|
||
|
/// 获取成功
|
||
|
/// </summary>
|
||
|
public string message { get; set; }
|
||
|
}
|
||
|
|
||
|
public class ResultDto<T> : ResultDto
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 扩展数据
|
||
|
/// </summary>
|
||
|
|
||
|
public T Data { get; set; }
|
||
|
}
|
||
|
}
|