mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-12-23 06:25:53 +08:00
feat: ✨ 基础模块
注册登录 用户管理 角色管理 部门管理 消息管理 接口管理 菜单管理 字典管理 缓存管理 请求日志 系统设置 版本信息 代码生成
This commit is contained in:
@@ -8,11 +8,13 @@ public sealed record GenerateCsCodeReq : DataAbstraction
|
||||
/// <summary>
|
||||
/// 模块名称
|
||||
/// </summary>
|
||||
[Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.模块名称不能为空))]
|
||||
public string ModuleName { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 模块说明
|
||||
/// </summary>
|
||||
[Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.模块说明不能为空))]
|
||||
public string ModuleRemark { get; init; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
using NetAdmin.Domain.Attributes.DataValidation;
|
||||
|
||||
namespace NetAdmin.Domain.Dto.Sys.Dev;
|
||||
|
||||
/// <summary>
|
||||
@@ -10,12 +8,12 @@ public sealed record GenerateIconCodeReq : DataAbstraction
|
||||
/// <summary>
|
||||
/// 图标名称
|
||||
/// </summary>
|
||||
[CultureRequired(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.图标名称))]
|
||||
[Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.图标名称不能为空))]
|
||||
public string IconName { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 图标代码
|
||||
/// </summary>
|
||||
[CultureRequired(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.图标代码))]
|
||||
[Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.图标代码不能为空))]
|
||||
public string SvgCode { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user