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.

24 lines
1.1 KiB

namespace Znyc.CloudCar.Model.ViewModels.Basics
{
/// <summary>
/// 验证错误信息视图模型
/// </summary>
public class ErrorView
{
/// <summary>
/// 错误字段
/// </summary>
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“ErrorName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string ErrorName { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“ErrorName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 错误内容ErrorMessage
/// </summary>
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Error”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Error { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Error”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
}
}