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