forked from ddrilling/AsbCloudServer
64 lines
1.6 KiB
C#
64 lines
1.6 KiB
C#
using System;
|
|
|
|
namespace AsbCloudApp.Data
|
|
{
|
|
#nullable enable
|
|
/// <summary>
|
|
/// DTO для faq-вопроса
|
|
/// </summary>
|
|
public class FaqDto : IId
|
|
{
|
|
/// <summary>
|
|
/// ключ вопроса
|
|
/// </summary>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// ключ скважины
|
|
/// </summary>
|
|
public int? IdWell { get; set; }
|
|
|
|
/// <summary>
|
|
/// ключ автора вопроса
|
|
/// </summary>
|
|
public int? IdAuthorQuestion { get; set; }
|
|
|
|
/// <summary>
|
|
/// автор ответа
|
|
/// </summary>
|
|
public int? IdAuthorAnswer { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// дата создания вопроса
|
|
/// </summary>
|
|
public DateTimeOffset? DateCreatedQuestion { get; set; }
|
|
|
|
/// <summary>
|
|
/// текст вопроса
|
|
/// </summary>
|
|
public string Question { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// текст ответа
|
|
/// </summary>
|
|
public string? Answer { get; set; }
|
|
|
|
/// <summary>
|
|
/// статус вопроса
|
|
/// </summary>
|
|
public int? State { get; set; } = 0!;
|
|
|
|
/// <summary>
|
|
/// Счетчик повторений вопроса
|
|
/// </summary>
|
|
public int? CounterQuestion { get; set; } = 0!;
|
|
|
|
/// <summary>
|
|
/// Частый вопрос
|
|
/// </summary>
|
|
public bool? IsFrequently { get; set; } = false!;
|
|
}
|
|
#nullable disable
|
|
}
|