Created Windows Service
This commit is contained in:
@ -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; }
|
||||
}
|
||||
|
12
FabApprovalWorkerService/Models/TrainingAssignment.cs
Normal file
12
FabApprovalWorkerService/Models/TrainingAssignment.cs
Normal 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; }
|
||||
}
|
Reference in New Issue
Block a user