DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/Survey.cs
Reginald Cherenfant Jasmin fe1614fee3 Multi Language support
2023-08-25 11:36:31 -04:00

27 lines
650 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DamageAssesment.Api.Surveys.Db
{
public class Survey
{
[Key]
public int Id { get; set; }
//[StringLength(1000)]
//public string Description { get; set; }
public bool IsEnabled { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public DateTime CreatedDate { get; set; } = DateTime.Now;
/*
[StringLength(10)]
[ForeignKey("Employee")]
public string EmployeeId { get; set; }
*/
}
}