feat: 租户审核领单与强制接管
This commit is contained in:
@@ -102,6 +102,21 @@ internal static class TenantMapping
|
||||
CreatedAt = log.CreatedAt
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// 将审核领取实体映射为 DTO。
|
||||
/// </summary>
|
||||
/// <param name="claim">领取实体。</param>
|
||||
/// <returns>领取 DTO。</returns>
|
||||
public static TenantReviewClaimDto ToDto(this TenantReviewClaim claim)
|
||||
=> new()
|
||||
{
|
||||
Id = claim.Id,
|
||||
TenantId = claim.TenantId,
|
||||
ClaimedBy = claim.ClaimedBy,
|
||||
ClaimedByName = claim.ClaimedByName,
|
||||
ClaimedAt = claim.ClaimedAt
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// 将套餐实体映射为 DTO。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user