2025-04-17 20:28:50 +08:00

51 lines
1.2 KiB
C#

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; }
}
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; }
}