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

23 lines
579 B
C#
Raw Normal View History

2023-08-15 22:52:30 -05:00
using System.ComponentModel.DataAnnotations;
namespace DamageAssesment.Api.Surveys.Models
{
2023-09-08 14:40:06 -05:00
public class MultiLanSurvey : BaseSurvey
{
public object Titles { get; set; }
}
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; }
2023-08-25 10:36:31 -05:00
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public DateTime CreatedDate { get; set; }
2023-08-15 22:52:30 -05:00
}
}