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