66 lines
1.3 KiB
C#
66 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.IO;
|
|
using System.Runtime.Serialization;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace CarParkValidationAPI.Models
|
|
{
|
|
|
|
public partial class AdminUserCriteria
|
|
{
|
|
public AdminUserCriteria()
|
|
{
|
|
}
|
|
#region public Member
|
|
|
|
public int? Id { get; set; }
|
|
|
|
public int? StafflinkNo { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string AddedBy { get; set; }
|
|
|
|
|
|
public bool? Active { get; set; }
|
|
|
|
public int? RoleType { get; set; }
|
|
#endregion
|
|
}
|
|
[Table("AdminUser")]
|
|
public partial class AdminUser
|
|
{
|
|
public AdminUser()
|
|
{
|
|
}
|
|
#region public Member
|
|
[Key]
|
|
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 DateTime? AddedOn { get; set; }
|
|
|
|
public bool? Active { get; set; }
|
|
|
|
public int? RoleType { get; set; }
|
|
|
|
public int? ValidationPointId { get; set; }
|
|
public DateTime? LastModified { get; set; }
|
|
public string? LastModifiedId { get; set; }
|
|
[JsonIgnore]
|
|
public string PasswordHash { get; set; }
|
|
#endregion
|
|
}
|
|
}
|