API. Расписание для хоста в общем формате

This commit is contained in:
Mikhail Kuznetsov
2023-06-21 12:28:16 +10:00
parent 3ebc077b27
commit e55d8b8641
13 changed files with 199 additions and 761 deletions

View File

@@ -19,6 +19,6 @@ namespace PARR.DAL.Models
public ICollection<ApplicationInHost> ApplicationsInHosts { get; set; } = new HashSet<ApplicationInHost>();
public ICollection<Application> Applications { get;set; } = new HashSet<Application>();
//public ICollection<Application> Applications { get;set; } = new HashSet<Application>();
}
}

View File

@@ -11,5 +11,8 @@ namespace PARR.DAL.Models
public DateTimeOffset? DateModified { get; set; }
public required string Name { get; set; }
public string? Description { get; set; }
public ICollection<ApplicationType> ApplicationTypes { get; set; } = new HashSet<ApplicationType>();
}
}

View File

@@ -22,8 +22,8 @@ namespace PARR.DAL.Models
public Guid? JobCategoryId { get; set; }
[ForeignKey(nameof(JobCategoryId))]
public JobCategory? JobCategorye { get; set; }
public Guid JobTypeId { get; set; }
public Guid? JobTypeId { get; set; }
[ForeignKey(nameof(JobTypeId))]
public JobType? JobType { get; set; }