31 lines
756 B
C#
31 lines
756 B
C#
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|||
|
namespace DamageAssesment.Api.SurveyResponses.Db
|
|||
|
{
|
|||
|
public class SurveyResponse
|
|||
|
{
|
|||
|
[Key]
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
[ForeignKey("Survey")]
|
|||
|
public int SurveyId { get; set; }
|
|||
|
|
|||
|
[StringLength(4)]
|
|||
|
[ForeignKey("Location")]
|
|||
|
public string LocationId { get; set; }
|
|||
|
|
|||
|
[StringLength(6)]
|
|||
|
[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; }
|
|||
|
}
|
|||
|
}
|