38 lines
902 B
C#
38 lines
902 B
C#
using System.Text.Json.Serialization;
|
|
using TakeoutSaaS.Shared.Abstractions.Serialization;
|
|
|
|
namespace TakeoutSaaS.Application.App.Merchants.Dto;
|
|
|
|
/// <summary>
|
|
/// 审核领取信息 DTO。
|
|
/// </summary>
|
|
public sealed class ClaimInfoDto
|
|
{
|
|
/// <summary>
|
|
/// 商户 ID。
|
|
/// </summary>
|
|
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
|
|
public long MerchantId { get; init; }
|
|
|
|
/// <summary>
|
|
/// 领取人 ID。
|
|
/// </summary>
|
|
[JsonConverter(typeof(NullableSnowflakeIdJsonConverter))]
|
|
public long? ClaimedBy { get; init; }
|
|
|
|
/// <summary>
|
|
/// 领取人名称。
|
|
/// </summary>
|
|
public string? ClaimedByName { get; init; }
|
|
|
|
/// <summary>
|
|
/// 领取时间。
|
|
/// </summary>
|
|
public DateTime? ClaimedAt { get; init; }
|
|
|
|
/// <summary>
|
|
/// 领取过期时间。
|
|
/// </summary>
|
|
public DateTime? ClaimExpiresAt { get; init; }
|
|
}
|