2023-08-15 22:52:30 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-08-25 07:55:11 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2023-08-15 22:52:30 -05:00
|
|
|
|
|
|
|
|
|
namespace DamageAssesment.Api.Surveys.Db
|
|
|
|
|
{
|
2023-10-12 15:01:24 -05:00
|
|
|
|
[Table("Surveys")]
|
2023-08-15 22:52:30 -05:00
|
|
|
|
public class Survey
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
//[StringLength(1000)]
|
|
|
|
|
//public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsEnabled { get; set; }
|
|
|
|
|
|
2023-08-25 10:36:31 -05:00
|
|
|
|
public DateTime StartDate { get; set; }
|
2023-08-15 22:52:30 -05:00
|
|
|
|
|
2023-08-25 10:36:31 -05:00
|
|
|
|
public DateTime EndDate { get; set; }
|
2023-08-15 22:52:30 -05:00
|
|
|
|
|
2023-08-25 07:55:11 -05:00
|
|
|
|
public DateTime CreatedDate { get; set; } = DateTime.Now;
|
|
|
|
|
/*
|
|
|
|
|
[StringLength(10)]
|
|
|
|
|
[ForeignKey("Employee")]
|
|
|
|
|
public string EmployeeId { get; set; }
|
|
|
|
|
*/
|
2023-08-15 22:52:30 -05:00
|
|
|
|
}
|
|
|
|
|
}
|