using System.ComponentModel.DataAnnotations; namespace Oms.Application.Dtos.System; /// /// 新增字典入参。 /// public class DictCreateInput { /// /// 字典类型。 /// [Required] [StringLength(64)] public string DictType { get; set; } = string.Empty; /// /// 排序值。 /// public int DictSort { get; set; } /// /// 字典编码。 /// [Required] [StringLength(64)] public string DictCode { get; set; } = string.Empty; /// /// 字典名称。 /// [Required] [StringLength(128)] public string DictName { get; set; } = string.Empty; }