sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserInfoViewModel.cs

64 lines
1.7 KiB
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using System;
using System.Collections.Generic;
using Volo.Abp.ObjectExtending;
namespace Sozsoft.Platform.Identity.Dto;
public class UserInfoViewModel: ExtensibleObject
{
public Guid Id { get; set; }
public string ConcurrencyStamp { get; set; }
public string UserName { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public string Email { get; set; }
public string PhoneNumber { get; set; }
public bool IsActive { get; set; }
public bool TwoFactorEnabled { get; set; }
public bool LockoutEnabled { get; set; }
public DateTimeOffset? LockoutEnd { get; set; }
public DateTime? LoginEndDate { get; set; }
public bool IsVerified { get; set; }
public List<string> userRoleNames { get; set; }
public AssignedRoleViewModel[] Roles { get; set; }
public AssignedBranchViewModel[] Branches { get; set; }
public AssignedClaimViewModel[] Claims { get; set; }
2026-04-26 19:05:19 +00:00
public AssignedWorkHourViewModel[] WorkHours { get; set; }
public AssignedDepartmentViewModel[] Departments { get; set; }
2026-02-24 20:44:16 +00:00
public AssignedJobPoisitionViewModel[] JobPositions { get; set; }
2026-02-24 20:44:16 +00:00
public bool LockUser { get; set; }
public DateTimeOffset? LastPasswordChangeTime { get; set; }
public bool EmailConfirmed { get; set; }
public bool PhoneNumberConfirmed { get; set; }
public int AccessFailedCount { get; set; }
public bool ShouldChangePasswordOnNextLogin { get; set; }
public string RocketUsername { get; set; }
public DateTimeOffset? CreationTime { get; set; }
public DateTimeOffset? LastModificationTime { get; set; }
2026-04-26 19:05:19 +00:00
public string WorkHour { get; set; }
public Guid DepartmentId { get; set; }
public Guid JobPositionId { get; set; }
2026-02-24 20:44:16 +00:00
}