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.
32 lines
714 B
32 lines
714 B
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace GDZZ.Core.Service;
|
|
|
|
/// <summary>
|
|
/// 枚举输入参数
|
|
/// </summary>
|
|
public class EnumDataInput
|
|
{
|
|
/// <summary>
|
|
/// 枚举类型名称
|
|
/// </summary>
|
|
/// <example>Gender</example>
|
|
[Required(ErrorMessage = "枚举类型不能为空")]
|
|
public string EnumName { get; set; }
|
|
}
|
|
|
|
public class QueryEnumDataInput
|
|
{
|
|
/// <summary>
|
|
/// 实体名称
|
|
/// </summary>
|
|
[Required(ErrorMessage = "实体名称不能为空")]
|
|
public string EntityName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 字段名称
|
|
/// </summary>
|
|
[Required(ErrorMessage = "字段名称不能为空")]
|
|
public string FieldName { get; set; }
|
|
}
|