sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserInfoViewModel.cs
2026-05-05 20:59:30 +03:00

67 lines
2.8 KiB
C#

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 Guid? TenantId { get; set; }
public string ConcurrencyStamp { get; set; }
public string UserName { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public string FullName => $"{Name} {Surname}".TrimEnd();
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; }
public AssignedWorkHourViewModel[] WorkHours { get; set; }
public AssignedDepartmentViewModel[] Departments { get; set; }
public AssignedJobPoisitionViewModel[] JobPositions { get; set; }
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; }
public string WorkHour { get; set; }
public Guid DepartmentId { get; set; }
public Guid JobPositionId { get; set; }
public string Nationality { get; set; }
public string SskNo { get; set; }
public DateTime? HireDate { get; set; }
public DateTime? TerminationDate { get; set; }
public string IdentityNumber { get; set; }
public string SerialNo { get; set; }
public string Province { get; set; }
public string District { get; set; }
public string Village { get; set; }
public string VolumeNo { get; set; }
public string FamilySequenceNo { get; set; }
public string SequenceNo { get; set; }
public string IssuedPlace { get; set; }
public DateTime? IssuedDate { get; set; }
public string BirthPlace { get; set; }
public DateTime? BirthDate { get; set; }
public string FatherName { get; set; }
public string MotherName { get; set; }
public string MaritalStatus { get; set; }
public DateTime? MarriageDate { get; set; }
public string HomeAddress { get; set; }
public string EducationLevel { get; set; }
public string GraduationSchool { get; set; }
public string BloodType { get; set; }
}