feat(api, bll, dal, generatorTemplates, templateActivator): запись истории изменения шаблонов
This commit is contained in:
11
PARR.Common/Domain/HistoryInitiator.cs
Normal file
11
PARR.Common/Domain/HistoryInitiator.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using PARR.Constants;
|
||||
|
||||
namespace PARR.Common.Domain
|
||||
{
|
||||
public class HistoryInitiator : IHistoryInitiator
|
||||
{
|
||||
public string? InitiatorIp { get; set; }
|
||||
public ParrComponentsEnum? InitiatorParrComponentId { get; set; }
|
||||
public string? InitiatorComment { get; set; }
|
||||
}
|
||||
}
|
||||
25
PARR.Common/Domain/IHistoryInitiator.cs
Normal file
25
PARR.Common/Domain/IHistoryInitiator.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using PARR.Constants;
|
||||
|
||||
namespace PARR.Common.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// Инициатор изменений, ведение истории
|
||||
/// </summary>
|
||||
public interface IHistoryInitiator
|
||||
{
|
||||
/// <summary>
|
||||
/// IP инициатора изменений (пользователь)
|
||||
/// </summary>
|
||||
public string? InitiatorIp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Id инициатора компонента ПАРР
|
||||
/// </summary>
|
||||
public ParrComponentsEnum? InitiatorParrComponentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Комментарий от инициатора
|
||||
/// </summary>
|
||||
public string? InitiatorComment { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user