DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Surveys/Models/Survey.cs

29 lines
715 B
C#
Raw Normal View History

2023-08-15 22:52:30 -05:00
using System.ComponentModel.DataAnnotations;
namespace DamageAssesment.Api.Surveys.Models
{
public enum SurveyStatus
{
PENDING,
ACTIVE,
INACTIVE
}
2023-09-08 14:40:06 -05:00
public class MultiLanSurvey : BaseSurvey
{
public object Titles { get; set; }
public string Status { get; set; }
2023-09-08 14:40:06 -05:00
}
public class Survey : BaseSurvey
{
public IEnumerable<SurveyTranslation> Titles { get; set; }
}
public class BaseSurvey
2023-08-15 22:52:30 -05:00
{
public int Id { get; set; }
public bool IsEnabled { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
public DateTime? CreatedDate { get; set; }
2023-08-15 22:52:30 -05:00
}
}