Update SeedData to be executed when MS launched, Enable other properties in SurveyResponse

This commit is contained in:
Reginald Cherenfant Jasmin
2023-09-04 21:31:41 -04:00
parent 81e14c387d
commit a1a9fd1dc5
35 changed files with 279 additions and 288 deletions

View File

@ -5,24 +5,14 @@ namespace DamageAssesment.Api.SurveyResponses.Models
{
public class SurveyResponse
{
[Key]
public int Id { get; set; }
[ForeignKey("Survey")]
public int SurveyId { get; set; }
[ForeignKey("Location")]
public string LocationId { get; set; }
[ForeignKey("Employee")]
public string EmployeeId { get; set; }
//public DateTime? CreatedDate { get; set; }
//[StringLength(50)]
//public string ClientDevice { get; set; }
//[StringLength(250)]
//public string KeyAnswerResult { get; set; }
public DateTime? CreatedDate { get; set; }
public string? ClientDevice { get; set; }
public string? KeyAnswerResult { get; set; }
public double? Longitute { get; set; }
public double? Latitude { get; set; }
}
}