feat:商户管理
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using TakeoutSaaS.Shared.Abstractions.Serialization;
|
||||
|
||||
namespace TakeoutSaaS.Application.App.Merchants.Dto;
|
||||
|
||||
/// <summary>
|
||||
/// 商户变更日志 DTO。
|
||||
/// </summary>
|
||||
public sealed class MerchantChangeLogDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 日志 ID。
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
|
||||
public long Id { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更字段。
|
||||
/// </summary>
|
||||
public string FieldName { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 变更前值。
|
||||
/// </summary>
|
||||
public string? OldValue { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更后值。
|
||||
/// </summary>
|
||||
public string? NewValue { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更人 ID。
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(NullableSnowflakeIdJsonConverter))]
|
||||
public long? ChangedBy { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更人名称。
|
||||
/// </summary>
|
||||
public string? ChangedByName { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更时间。
|
||||
/// </summary>
|
||||
public DateTime ChangedAt { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更原因。
|
||||
/// </summary>
|
||||
public string? ChangeReason { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user