29 lines
715 B
C#
Raw Normal View History

2023-08-15 23:52:30 -04:00
using System.ComponentModel.DataAnnotations;
namespace DamageAssesment.Api.Surveys.Models
{
public enum SurveyStatus
{
PENDING,
ACTIVE,
INACTIVE
}
2023-09-08 15:40:06 -04:00
public class MultiLanSurvey : BaseSurvey
{
public object Titles { get; set; }
public string Status { get; set; }
2023-09-08 15:40:06 -04:00
}
public class Survey : BaseSurvey
{
public IEnumerable<SurveyTranslation> Titles { get; set; }
}
public class BaseSurvey
2023-08-15 23:52:30 -04: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 23:52:30 -04:00
}
}