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.
31 lines
751 B
31 lines
751 B
namespace Admin.NET.Core.Service;
|
|
|
|
/// <summary>
|
|
/// 枚举输入参数
|
|
/// </summary>
|
|
public class EnumInput
|
|
{
|
|
/// <summary>
|
|
/// 枚举类型名称
|
|
/// </summary>
|
|
/// <example>AccountTypeEnum</example>
|
|
[Required(ErrorMessage = "枚举类型不能为空")]
|
|
public string EnumName { get; set; }
|
|
}
|
|
|
|
public class QueryEnumDataInput
|
|
{
|
|
/// <summary>
|
|
/// 实体名称
|
|
/// </summary>
|
|
/// <example>SysUser</example>
|
|
[Required(ErrorMessage = "实体名称不能为空")]
|
|
public string EntityName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 字段名称
|
|
/// </summary>
|
|
/// <example>AccountType</example>
|
|
[Required(ErrorMessage = "字段名称不能为空")]
|
|
public string FieldName { get; set; }
|
|
}
|