27 lines
650 B
C#
Raw Normal View History

2023-08-15 23:52:30 -04:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2023-08-15 23:52:30 -04:00
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; }
2023-08-25 11:36:31 -04:00
public DateTime StartDate { get; set; }
2023-08-15 23:52:30 -04:00
2023-08-25 11:36:31 -04:00
public DateTime EndDate { get; set; }
2023-08-15 23:52:30 -04:00
public DateTime CreatedDate { get; set; } = DateTime.Now;
/*
[StringLength(10)]
[ForeignKey("Employee")]
public string EmployeeId { get; set; }
*/
2023-08-15 23:52:30 -04:00
}
}