28 lines
727 B
C#
28 lines
727 B
C#
using System.Text.Json.Serialization;
|
|
using TakeoutSaaS.Domain.Merchants.Enums;
|
|
using TakeoutSaaS.Shared.Abstractions.Serialization;
|
|
|
|
namespace TakeoutSaaS.Application.App.Merchants.Dto;
|
|
|
|
/// <summary>
|
|
/// 商户审核日志 DTO。
|
|
/// </summary>
|
|
public sealed class MerchantAuditLogDto
|
|
{
|
|
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
|
|
public long Id { get; init; }
|
|
|
|
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
|
|
public long MerchantId { get; init; }
|
|
|
|
public MerchantAuditAction Action { get; init; }
|
|
|
|
public string Title { get; init; } = string.Empty;
|
|
|
|
public string? Description { get; init; }
|
|
|
|
public string? OperatorName { get; init; }
|
|
|
|
public DateTime CreatedAt { get; init; }
|
|
}
|