using System.ComponentModel.DataAnnotations; namespace Myshipping.Core.Service; /// /// 枚举输入参数 /// public class EnumDataInput { /// /// 枚举类型名称 /// /// Gender [Required(ErrorMessage = "枚举类型不能为空")] public string EnumName { get; set; } } public class QueryEnumDataInput { /// /// 实体名称 /// [Required(ErrorMessage = "实体名称不能为空")] public string EntityName { get; set; } /// /// 字段名称 /// [Required(ErrorMessage = "字段名称不能为空")] public string FieldName { get; set; } }