29 lines
613 B
C#
29 lines
613 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DamageAssesment.Api.Surveys.Models
|
|
{
|
|
public class Survey
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string Title { 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; }
|
|
|
|
//[StringLength(6)]
|
|
//public string EmployeeID { get; set; }
|
|
|
|
}
|
|
}
|