//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2023-07-04 16:10:46 
//     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Application.ViewModel
{
    /// <summary> UserLogView  列表视图模型 </summary>
    public class UserLogView
    {
        public Guid? Id { get; set; }
        public string IP { get; set; }

        public string ActionUserType { get; set; }
        public int OptType { get; set; }

        public string? ActionUserName { get; set; }

        //public string ActionUserRoleShortName { get; set; }

        public DateTime CreateTime { get; set; }
        public Guid CreateUserId { get; set; }

        public string TargetIdentityUserName { get; set; }


        public string JsonObj { get; set; }

        public string IPRegion { get; set; }
    }

    public class SendMfaCommand
    {
        public Guid IdentityUserId { get; set; }

        public UserMFAType MFAType { get; set; } = UserMFAType.Login;
    }

    ///<summary>UserLogQuery  列表查询参数模型</summary>
    public class UserLogQuery : PageInput
    {
        public Guid? TrialId { get; set; }

        public UserOptType? OptType { get; set; }

        public string? IP { get; set; }

        public string? LoginFaildName { get; set; }

        public string? LoginUserName { get; set; }

        public DateTime? BeginDate { get; set; }

        public DateTime? EndDate { get; set; }

        public UserTypeEnum? LoginUserTypeEnum { get; set; }

        public Guid? UserTypeId { get; set; }

        public Guid? UserId { get; set; }

    }



}