@@ -1,6 +1,6 @@
|
||||
namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
public class MenuCommand
|
||||
public class MenuCommand
|
||||
{
|
||||
public Guid? MenuId { get; set; }
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
public string Meta { get; set; } = string.Empty;
|
||||
|
||||
public string Note { get; set; }
|
||||
public string Note { get; set; }
|
||||
|
||||
public string Redirect { get; set; } = string.Empty;
|
||||
|
||||
@@ -61,11 +61,11 @@
|
||||
{
|
||||
public Guid? ParentId { get; set; }
|
||||
|
||||
public string? MenuType { get; set; }
|
||||
public string? MenuType { get; set; }
|
||||
|
||||
public bool? IsEnable { get; set; }
|
||||
public bool? IsEnable { get; set; }
|
||||
|
||||
public bool? IsCache { get; set; }
|
||||
public bool? IsCache { get; set; }
|
||||
|
||||
public bool? IsDisplay { get; set; }
|
||||
|
||||
@@ -75,20 +75,20 @@
|
||||
}
|
||||
|
||||
|
||||
public class MenuFunctionDTO:MenuCommand
|
||||
public class MenuFunctionDTO : MenuCommand
|
||||
{
|
||||
public List<MenuFunctionDTO> Children { get; set; }=new List<MenuFunctionDTO>();
|
||||
public List<MenuFunctionDTO> Children { get; set; } = new List<MenuFunctionDTO>();
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
}
|
||||
|
||||
public class RoleMenuFunctionSelectDTO
|
||||
{
|
||||
public Guid RoleId { get; set; }
|
||||
public List<Guid> MenuFunctionId { get; set; }=new List<Guid>();
|
||||
public List<Guid> MenuFunctionId { get; set; } = new List<Guid>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace IRaCIS.Application.Contracts
|
||||
namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
public class RoleDTO
|
||||
{
|
||||
@@ -25,6 +23,6 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public class RoleCommand : RoleDTO
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
// 生成时间 2022-04-25 09:46:34
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.Collections.Generic;
|
||||
using IRaCIS.Core.Application.Contracts;
|
||||
using IRaCIS.Core.Domain.Share.Management;
|
||||
|
||||
@@ -26,7 +23,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
|
||||
public string CreateUserName { get; set; }
|
||||
|
||||
|
||||
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
|
||||
@@ -48,12 +45,12 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public List<UserTypeSimpleDTO> NoticeUserTypeList { get; set; }
|
||||
public List<UserTypeSimpleDTO> NoticeUserTypeList { get; set; }
|
||||
|
||||
}
|
||||
|
||||
///<summary>SystemNoticeQuery 列表查询参数模型</summary>
|
||||
public class SystemNoticeQuery:PageInput
|
||||
public class SystemNoticeQuery : PageInput
|
||||
{
|
||||
public string NoticeContent { get; set; } = string.Empty;
|
||||
|
||||
@@ -94,15 +91,15 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
}
|
||||
|
||||
///<summary> SystemNoticeAddOrEdit 列表查询参数模型</summary>
|
||||
public class SystemNoticeAddOrEdit: SystemNoticeBasicInfo
|
||||
public class SystemNoticeAddOrEdit : SystemNoticeBasicInfo
|
||||
{
|
||||
|
||||
|
||||
|
||||
public Guid[] NoticeUserTypeIdList { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class SystemNoticeReadDTO: SystemNoticeBasicInfo
|
||||
public class SystemNoticeReadDTO : SystemNoticeBasicInfo
|
||||
{
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
@@ -111,7 +108,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
|
||||
public string FullFilePath { get; set; }
|
||||
|
||||
public bool IsRead { get; set; }
|
||||
public bool IsRead { get; set; }
|
||||
|
||||
|
||||
public Guid? PublishedUserId { get; set; }
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
public Guid Id { get; set; }
|
||||
public string KeyName { get; set; } = string.Empty;
|
||||
public string Type { get; set; } = string.Empty;
|
||||
public List<DictionaryTreeNode> Children { get; set; }=new List<DictionaryTreeNode>();
|
||||
public List<DictionaryTreeNode> Children { get; set; } = new List<DictionaryTreeNode>();
|
||||
}
|
||||
|
||||
public class MenuTreeNodeSelect: MenuCommand
|
||||
public class MenuTreeNodeSelect : MenuCommand
|
||||
{
|
||||
|
||||
|
||||
public List<MenuTreeNodeSelect> Children { get; set; } = new List<MenuTreeNodeSelect>();
|
||||
public bool IsSelect { get; set; } = false;
|
||||
}
|
||||
@@ -22,5 +22,5 @@
|
||||
|
||||
public List<MenuTreeNode> Children { get; set; } = new List<MenuTreeNode>();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -3,11 +3,8 @@
|
||||
// 生成时间 2024-07-30 10:39:12
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
namespace IRaCIS.Core.Application.ViewModel
|
||||
{
|
||||
/// <summary> UserFeedBackView 列表视图模型 </summary>
|
||||
@@ -51,7 +48,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
|
||||
public string? SubejctAndVisitKeyInfo { get; set; }
|
||||
|
||||
public UserTypeEnum? UserTypeEnum { get; set; }
|
||||
public UserTypeEnum? UserTypeEnum { get; set; }
|
||||
|
||||
public string? FeedBackUserKeyInfo { get; set; }
|
||||
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
// 生成时间 2023-07-04 16:10:46
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.Collections.Generic;
|
||||
namespace IRaCIS.Core.Application.ViewModel
|
||||
{
|
||||
/// <summary> UserLogView 列表视图模型 </summary>
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using IRaCIS.Core.Infrastructure.Extention;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
@@ -13,7 +10,7 @@ namespace IRaCIS.Application.Contracts
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public string UserType { get; set; } = string.Empty;
|
||||
public UserTypeEnum UserTypeEnum { get; set; }
|
||||
public UserTypeEnum UserTypeEnum { get; set; }
|
||||
public string Description { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
@@ -28,7 +25,7 @@ namespace IRaCIS.Application.Contracts
|
||||
public class LoginReturnDTO
|
||||
{
|
||||
public UserBasicInfo BasicInfo { get; set; } = new UserBasicInfo();
|
||||
public string JWTStr { get; set; }=string.Empty;
|
||||
public string JWTStr { get; set; } = string.Empty;
|
||||
|
||||
public bool IsMFA { get; set; } = false;
|
||||
|
||||
@@ -44,18 +41,18 @@ namespace IRaCIS.Application.Contracts
|
||||
public int? Sex { get; set; } // 1-男 2-女
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// LastLoginIP
|
||||
/// </summary>
|
||||
public string LastLoginIP { get; set; } = string.Empty;
|
||||
/// <summary>
|
||||
/// LastLoginIP
|
||||
/// </summary>
|
||||
public string LastLoginIP { get; set; } = string.Empty;
|
||||
|
||||
public UserTypeEnum UserTypeEnum { get; set; }
|
||||
public UserTypeEnum UserTypeEnum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上一次修改密码的时间
|
||||
/// </summary>
|
||||
public DateTime? LastChangePassWordTime { get; set; }
|
||||
public bool IsTestUser { get; set; }
|
||||
/// <summary>
|
||||
/// 上一次修改密码的时间
|
||||
/// </summary>
|
||||
public DateTime? LastChangePassWordTime { get; set; }
|
||||
public bool IsTestUser { get; set; }
|
||||
public bool IsAdmin { get; set; } = false;
|
||||
public string UserTypeShortName { get; set; } = string.Empty;
|
||||
public bool PasswordChanged { get; set; }
|
||||
@@ -72,7 +69,7 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public int LoginState { get; set; } = 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class MenuFuncTreeNodeView
|
||||
{
|
||||
@@ -89,7 +86,7 @@ namespace IRaCIS.Application.Contracts
|
||||
public string path { get; set; } = string.Empty;
|
||||
public Meta meta { get; set; } = new Meta();
|
||||
public bool hidden { get; set; }
|
||||
public List<MenuFuncTreeNodeView> Childrens { get; set; }=new List<MenuFuncTreeNodeView>();
|
||||
public List<MenuFuncTreeNodeView> Childrens { get; set; } = new List<MenuFuncTreeNodeView>();
|
||||
}
|
||||
|
||||
public class Meta
|
||||
@@ -141,7 +138,7 @@ namespace IRaCIS.Application.Contracts
|
||||
public string Phone { get; set; } = string.Empty;
|
||||
public string EMail { get; set; } = string.Empty;
|
||||
public Guid UserTypeId { get; set; } = Guid.Empty;
|
||||
|
||||
|
||||
public string UserCode { get; set; } = string.Empty;
|
||||
|
||||
public bool IsZhiZhun { get; set; }
|
||||
@@ -159,7 +156,7 @@ namespace IRaCIS.Application.Contracts
|
||||
//public string OrganizationType { get; set; } = String.Empty;
|
||||
//public Guid OrganizationId { get; set; }
|
||||
public string OrganizationName { get; set; } = string.Empty;
|
||||
|
||||
|
||||
|
||||
|
||||
public string DepartmentName { get; set; } = String.Empty;
|
||||
@@ -186,11 +183,11 @@ namespace IRaCIS.Application.Contracts
|
||||
//public string FirstName { get; set; }
|
||||
//public string LastName { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class EditPasswordCommand
|
||||
{
|
||||
public string NewUserName { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public string NewPassWord { get; set; } = string.Empty;
|
||||
public string OldPassWord { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -205,7 +202,7 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public string UserRealName { get; set; } = string.Empty;
|
||||
|
||||
public string UserType { get; set; } = string.Empty;
|
||||
public string UserType { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class UserListQueryDTO : PageInput
|
||||
@@ -218,7 +215,7 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public bool? IsTestUser { get; set; }
|
||||
|
||||
public bool ? IsZhiZhun { get; set; }
|
||||
public bool? IsZhiZhun { get; set; }
|
||||
public UserStateEnum? UserState { get; set; }
|
||||
|
||||
public DateTime? BeginCreateTime { get; set; }
|
||||
@@ -238,7 +235,7 @@ namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
[JsonIgnore]
|
||||
public Guid testGuid { get; set; }
|
||||
public bool CanEditUserType { get; set; }
|
||||
public bool CanEditUserType { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
@@ -254,13 +251,13 @@ namespace IRaCIS.Application.Contracts
|
||||
public class UserIdRoleNameList
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public IEnumerable<RoleDTO> RoleList { get; set; }=new List<RoleDTO>();
|
||||
public IEnumerable<RoleDTO> RoleList { get; set; } = new List<RoleDTO>();
|
||||
}
|
||||
|
||||
|
||||
public class AllowAnonymousResetPasswordCommand
|
||||
{
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
|
||||
public string VerificationCode { get; set; } = string.Empty;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user