2024-10-31 17:02:48 +05:00
|
|
|
|
namespace Persistence.Models;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Часть записи описывающая изменение
|
|
|
|
|
/// </summary>
|
2024-11-25 10:05:23 +05:00
|
|
|
|
public interface IChangeLogAbstractDto
|
2024-10-31 17:02:48 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Ид записи
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Автор изменения
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int IdAuthor { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Редактор
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? IdEditor { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата создания записи
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTimeOffset Creation { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата устаревания (например при удалении)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTimeOffset? Obsolete { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-25 10:05:23 +05:00
|
|
|
|
/// Id заменяющей записи
|
2024-10-31 17:02:48 +05:00
|
|
|
|
/// </summary>
|
2024-11-25 10:05:23 +05:00
|
|
|
|
public int? IdNext { get; set; }
|
2024-10-31 17:02:48 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-25 10:05:23 +05:00
|
|
|
|
/// Значение
|
2024-10-31 17:02:48 +05:00
|
|
|
|
/// </summary>
|
2024-11-25 10:05:23 +05:00
|
|
|
|
public object Value { get; set; }
|
2024-10-31 17:02:48 +05:00
|
|
|
|
}
|