using System.ComponentModel.DataAnnotations;
namespace TakeoutSaaS.Application.Dictionary.Contracts;
///
/// 更新字典分组请求。
///
public sealed class UpdateDictionaryGroupRequest
{
///
/// 分组名称。
///
[Required, MaxLength(128)]
public string Name { get; set; } = string.Empty;
///
/// 描述信息。
///
[MaxLength(512)]
public string? Description { get; set; }
///
/// 是否启用。
///
public bool IsEnabled { get; set; } = true;
}