Pull Request 33520 suggestions Injected AppSettings instead of using GetEnvironmentVariable at Services level When debugging only app.Services.GetRequiredService<IPCRBService>(); Get ready to use VSCode IDE Align .editorconfig files
28 lines
1.2 KiB
C#
28 lines
1.2 KiB
C#
using Dapper.Contrib.Extensions;
|
|
|
|
namespace FabApprovalWorkerService.Models;
|
|
[Table("Users")]
|
|
public class User {
|
|
[Key]
|
|
public required int UserID { get; set; }
|
|
public required string LoginID { get; set; }
|
|
public required string FirstName { get; set; }
|
|
public required string LastName { get; set; }
|
|
public required string Email { get; set; }
|
|
public bool Notify { get; set; } = true;
|
|
public required bool IsAdmin { get; set; } = false;
|
|
public DateTime LastLogin { get; set; }
|
|
public required bool OOO { get; set; } = false;
|
|
public DateTime OOOStartDate { get; set; }
|
|
public DateTime OOOExpirationDate { get; set; }
|
|
public int DelegatedTo { get; set; }
|
|
public required bool CanViewITAR { get; set; }
|
|
public required bool IsManager { get; set; }
|
|
public bool IsCleansCertified { get; set; } = false;
|
|
public bool IsAnyLevelCertified { get; set; } = false;
|
|
public bool IsPackagingLabelingCertified { get; set; } = false;
|
|
public bool IsEpiProCertified { get; set; } = false;
|
|
public bool IsFqaCertified { get; set; } = false;
|
|
public bool IsFqaAssessmentCertified { get; set; } = false;
|
|
public bool IsActive { get; set; } = false;
|
|
} |