Created CA follow up worker

This commit is contained in:
Chase Tucker
2024-04-11 13:20:33 -07:00
parent ed89f25dad
commit 83165bbdd7
16 changed files with 701 additions and 44 deletions

View File

@ -0,0 +1,10 @@
namespace FabApprovalWorkerService.Models;
public class CorrectiveAction {
public required int CANo { get; set; }
public bool ApprovalStatus { get; set; }
public DateTime FollowUpDate { get; set; }
public DateTime ClosedDate { get; set; }
public int QAID { get; set; }
public required string CATitle { get; set; }
}

View File

@ -7,8 +7,9 @@ public class ECN {
[Key]
public required int ECNNumber { get; set; }
public bool IsTECN { get; set; } = false;
public DateTime ExpirationDate { get; set; }
public DateTime ExtensionDate { get; set; } = DateTime.MinValue;
public required DateTime ExpirationDate { get; set; }
public DateTime ExtensionDate { get; set; }
public required int OriginatorID { get; set; }
public required string Title { get; set; }
public DateTime CloseDate { get; set; } = DateTime.MaxValue;
}

View File

@ -1,12 +1,16 @@
using Dapper.Contrib.Extensions;
namespace FabApprovalWorkerService.Models;
[Table("TrainingAssignment")]
public class TrainingAssignment {
[Key]
public int ID { get; set; }
public required int UserID { get; set; }
public required DateTime DateAssigned { get; set; }
public int TrainingID { get; set; }
public bool Status { get; set; } = false;
public bool status { get; set; } = false;
public bool Deleted { get; set; } = false;
public DateTime DeletedDate { get; set; }
public DateTime LastNotification { get; set; }
}