Created Windows Service

This commit is contained in:
Chase Tucker
2024-04-03 12:05:44 -07:00
parent 35690df362
commit 794b616293
14 changed files with 247 additions and 38 deletions

View File

@ -1,10 +1,14 @@
namespace FabApprovalWorkerService.Models;
using Dapper.Contrib.Extensions;
namespace FabApprovalWorkerService.Models;
[Table("ECN")]
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; }
public DateTime ExtensionDate { get; set; } = DateTime.MinValue;
public required int OriginatorID { get; set; }
public required string Title { get; set; }
}

View File

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