Update survey response, adding EmployeeId , Location Id as int, adjust end point for ansers submission in batch

This commit is contained in:
Reginald Cherenfant Jasmin
2023-09-13 01:28:24 -04:00
parent 4cf7d9f891
commit 9109d0d793
68 changed files with 525 additions and 540 deletions

View File

@ -10,14 +10,12 @@ namespace DamageAssesment.Api.SurveyResponses.Db
[ForeignKey("Survey")]
public int SurveyId { get; set; }
[StringLength(4)]
[ForeignKey("Location")]
public string LocationId { get; set; }
public int LocationId { get; set; }
[StringLength(6)]
[ForeignKey("Employee")]
public string EmployeeId { get; set; }
public int EmployeeId { get; set; }
public DateTime? CreatedDate { get; set; } = DateTime.Now;