2024-10-31 17:02:48 +05:00
|
|
|
namespace Persistence.Models;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Часть записи описывающая изменение
|
|
|
|
/// </summary>
|
2024-11-26 14:19:16 +05:00
|
|
|
public class ChangeLogDto
|
2024-10-31 17:02:48 +05:00
|
|
|
{
|
2024-11-26 11:47:42 +05:00
|
|
|
public ChangeLogDto()
|
|
|
|
{
|
2024-11-26 14:19:16 +05:00
|
|
|
|
2024-11-26 11:47:42 +05:00
|
|
|
}
|
2024-10-31 17:02:48 +05:00
|
|
|
|
2024-11-25 10:05:23 +05:00
|
|
|
/// <summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
/// Создатель записи
|
2024-10-31 17:02:48 +05:00
|
|
|
/// </summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
public Guid IdAuthor { get; set; }
|
2024-10-31 17:02:48 +05:00
|
|
|
|
|
|
|
/// <summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
/// Пользователь, изменивший запись
|
2024-10-31 17:02:48 +05:00
|
|
|
/// </summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
public Guid? IdEditor { get; set; }
|
2024-10-31 17:02:48 +05:00
|
|
|
|
|
|
|
/// <summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
/// Дата создания
|
2024-10-31 17:02:48 +05:00
|
|
|
/// </summary>
|
|
|
|
public DateTimeOffset Creation { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
/// Дата устаревания
|
2024-10-31 17:02:48 +05:00
|
|
|
/// </summary>
|
|
|
|
public DateTimeOffset? Obsolete { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
/// Ключ следующей записи
|
2024-10-31 17:02:48 +05:00
|
|
|
/// </summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
public Guid? IdNext { get; set; }
|
2024-10-31 17:02:48 +05:00
|
|
|
|
|
|
|
/// <summary>
|
2024-11-26 11:47:42 +05:00
|
|
|
/// Объект записи
|
2024-10-31 17:02:48 +05:00
|
|
|
/// </summary>
|
2024-11-27 17:59:37 +05:00
|
|
|
public DataWithWellDepthAndSectionDto Value { get; set; }
|
2024-10-31 17:02:48 +05:00
|
|
|
}
|