Created CA follow up worker
This commit is contained in:
10
FabApprovalWorkerService/Models/CorrectiveAction.cs
Normal file
10
FabApprovalWorkerService/Models/CorrectiveAction.cs
Normal 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; }
|
||||
}
|
@ -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;
|
||||
}
|
||||
|
@ -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; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user