persistence/DD.Persistence.Models/ChangeLog/ChangeLogCommitDto.cs

28 lines
787 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace DD.Persistence.Models.ChangeLog;
/// <summary>
/// Модель коммита с изменениями
/// </summary>
public class ChangeLogCommitDto : ChangeLogCommitCreateRequest
{
/// <summary>
/// Id
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Дата создания
/// </summary>
public DateTimeOffset Creation { get; set; }
/// <summary>
/// Список созданных записей коммита
/// </summary>
public IEnumerable<ChangeLogDto> ChangeLogCreatedItems { get; set; } = null!;
/// <summary>
/// Список устаревших записей коммита
/// </summary>
public IEnumerable<ChangeLogDto> ChangeLogObsoletedItems { get; set; } = null!;
}