API
This commit is contained in:
@@ -12,13 +12,14 @@ namespace PARR.DAL.Models
|
||||
public DateTimeOffset DateCreated { get; set; }
|
||||
public DateTimeOffset? DateModified { get; set; }
|
||||
public required string Name { get; set; }
|
||||
public required string ScriptName { get; set; }
|
||||
|
||||
|
||||
public Guid JobModeId { get; set; }
|
||||
[ForeignKey(nameof(JobModeId))]
|
||||
public JobMode? JobMode { get; set; }
|
||||
|
||||
public Guid JobCategoryId { get; set; }
|
||||
public Guid? JobCategoryId { get; set; }
|
||||
[ForeignKey(nameof(JobCategoryId))]
|
||||
public JobCategory? JobCategorye { get; set; }
|
||||
|
||||
@@ -26,7 +27,11 @@ namespace PARR.DAL.Models
|
||||
[ForeignKey(nameof(JobTypeId))]
|
||||
public JobType? JobType { get; set; }
|
||||
|
||||
public Guid ApplicationId { get; set; }
|
||||
[ForeignKey(nameof(ApplicationId))]
|
||||
public Application? Application { get; set; }
|
||||
|
||||
public ICollection<JobJournal> Journals { get; set; } = new HashSet<JobJournal>();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user