51 lines
1.2 KiB
C#
Raw Permalink Normal View History

2024-12-19 16:07:07 +08:00
namespace JiShe.CollectBus;
/// <summary>
/// BaseResultDto
/// </summary>
/// <typeparam name="T"></typeparam>
public class BaseResultDto<T> where T : class
{
/// <summary>
/// Gets or sets a value indicating whether this <see cref="BaseResultDto{T}" /> is status.
/// </summary>
/// <value>
/// <c>true</c> if status; otherwise, <c>false</c>.
/// </value>
public bool Status { get; set; }
/// <summary>
/// Gets or sets the MSG.
/// </summary>
/// <value>
/// The MSG.
/// </value>
public string Msg { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
/// <value>
/// The data.
/// </value>
public T Data { get; set; }
2024-12-25 16:25:16 +08:00
}
public class BaseResultDto
{
/// <summary>
/// Gets or sets a value indicating whether this <see cref="BaseResultDto{T}" /> is status.
/// </summary>
/// <value>
/// <c>true</c> if status; otherwise, <c>false</c>.
/// </value>
public bool Status { get; set; }
/// <summary>
/// Gets or sets the MSG.
/// </summary>
/// <value>
/// The MSG.
/// </value>
public string Msg { get; set; }
2024-12-19 16:07:07 +08:00
}