74 lines
1.7 KiB
C#
74 lines
1.7 KiB
C#
using System.Text.Json.Serialization;
|
|
using TakeoutSaaS.Domain.Tenants.Enums;
|
|
using TakeoutSaaS.Shared.Abstractions.Serialization;
|
|
|
|
namespace TakeoutSaaS.Application.App.Tenants.Dto;
|
|
|
|
/// <summary>
|
|
/// 租户实名认证 DTO。
|
|
/// </summary>
|
|
public sealed class TenantVerificationDto
|
|
{
|
|
/// <summary>
|
|
/// 主键。
|
|
/// </summary>
|
|
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
|
|
public long Id { get; init; }
|
|
|
|
/// <summary>
|
|
/// 租户标识。
|
|
/// </summary>
|
|
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
|
|
public long TenantId { get; init; }
|
|
|
|
/// <summary>
|
|
/// 状态。
|
|
/// </summary>
|
|
public TenantVerificationStatus Status { get; init; }
|
|
|
|
/// <summary>
|
|
/// 营业执照号。
|
|
/// </summary>
|
|
public string? BusinessLicenseNumber { get; init; }
|
|
|
|
/// <summary>
|
|
/// 营业执照图片。
|
|
/// </summary>
|
|
public string? BusinessLicenseUrl { get; init; }
|
|
|
|
/// <summary>
|
|
/// 法人姓名。
|
|
/// </summary>
|
|
public string? LegalPersonName { get; init; }
|
|
|
|
/// <summary>
|
|
/// 法人身份证号。
|
|
/// </summary>
|
|
public string? LegalPersonIdNumber { get; init; }
|
|
|
|
/// <summary>
|
|
/// 银行账号。
|
|
/// </summary>
|
|
public string? BankAccountNumber { get; init; }
|
|
|
|
/// <summary>
|
|
/// 银行名称。
|
|
/// </summary>
|
|
public string? BankName { get; init; }
|
|
|
|
/// <summary>
|
|
/// 审核备注。
|
|
/// </summary>
|
|
public string? ReviewRemarks { get; init; }
|
|
|
|
/// <summary>
|
|
/// 最新审核人。
|
|
/// </summary>
|
|
public string? ReviewedByName { get; init; }
|
|
|
|
/// <summary>
|
|
/// 审核时间。
|
|
/// </summary>
|
|
public DateTime? ReviewedAt { get; init; }
|
|
}
|