namespace Znyc.CloudCar.Model.ViewModels.Enum
{
///
/// 枚举实体
///
public class EnumEntity
{
///
/// 枚举的描述
///
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string description { set; get; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 枚举名称
///
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“title”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string title { set; get; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“title”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 枚举对象的值
///
public int value { set; get; }
}
}