24 lines
502 B
C#
24 lines
502 B
C#
namespace TakeoutSaaS.Application.Dictionary.Models;
|
|
|
|
/// <summary>
|
|
/// 字典项 DTO。
|
|
/// </summary>
|
|
public sealed class DictionaryItemDto
|
|
{
|
|
public Guid Id { get; init; }
|
|
|
|
public Guid GroupId { get; init; }
|
|
|
|
public string Key { get; init; } = string.Empty;
|
|
|
|
public string Value { get; init; } = string.Empty;
|
|
|
|
public bool IsDefault { get; init; }
|
|
|
|
public bool IsEnabled { get; init; }
|
|
|
|
public int SortOrder { get; init; }
|
|
|
|
public string? Description { get; init; }
|
|
}
|