2026-02-24 20:44:16 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Volo.Abp.ObjectExtending;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Platform.Identity.Dto;
|
|
|
|
|
|
|
2026-05-05 17:59:30 +00:00
|
|
|
|
public class UserInfoViewModel : ExtensibleObject
|
2026-02-24 20:44:16 +00:00
|
|
|
|
{
|
|
|
|
|
|
public Guid Id { get; set; }
|
2026-05-05 17:59:30 +00:00
|
|
|
|
public Guid? TenantId { get; set; }
|
2026-02-24 20:44:16 +00:00
|
|
|
|
public string ConcurrencyStamp { get; set; }
|
|
|
|
|
|
public string UserName { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public string Surname { get; set; }
|
2026-05-05 17:59:30 +00:00
|
|
|
|
public string FullName => $"{Name} {Surname}".TrimEnd();
|
2026-02-24 20:44:16 +00:00
|
|
|
|
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; }
|
2026-05-04 14:35:18 +00:00
|
|
|
|
public AssignedDepartmentViewModel[] Departments { get; set; }
|
|
|
|
|
|
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; }
|
2026-05-04 14:35:18 +00:00
|
|
|
|
public Guid DepartmentId { get; set; }
|
|
|
|
|
|
public Guid JobPositionId { get; set; }
|
2026-05-05 07:23:02 +00:00
|
|
|
|
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; }
|
2026-02-24 20:44:16 +00:00
|
|
|
|
}
|