56 lines
1.2 KiB
C#
56 lines
1.2 KiB
C#
using CarParkValidationAPI.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarParkValidationAPI.Entities
|
|
{
|
|
public class AdminUserDto
|
|
{
|
|
#region public Member
|
|
public int Id { get; set; }
|
|
public string StafflinkNo { get; set; }
|
|
|
|
public string FirstName { get; set; }
|
|
|
|
public string? LastName { get; set; }
|
|
|
|
public string? Email { get; set; }
|
|
|
|
public string? AddedOn { get; set; }
|
|
|
|
public bool? Active { get; set; }
|
|
|
|
public int? RoleType { get; set; }
|
|
|
|
public int? ValidationPointId { get; set; }
|
|
#endregion
|
|
}
|
|
public class AdminUserViewDto
|
|
{
|
|
#region public Member
|
|
public int Id { get; set; }
|
|
public string StafflinkNo { get; set; }
|
|
|
|
public string FirstName { get; set; }
|
|
|
|
public string? LastName { get; set; }
|
|
|
|
public string? Email { get; set; }
|
|
|
|
public string? AddedOn { get; set; }
|
|
|
|
public bool? Active { get; set; }
|
|
|
|
public int? RoleType { get; set; }
|
|
|
|
public string ValidationPoint { get; set; }
|
|
public int ValidationPointId { get; set; }
|
|
[JsonIgnore]
|
|
public string PasswordHash { get; set; }
|
|
#endregion
|
|
}
|
|
}
|