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