115 lines
2.7 KiB
C#
115 lines
2.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? LegalPersonIdFrontUrl { get; init; }
|
||
|
||
/// <summary>
|
||
/// 法人身份证反面。
|
||
/// </summary>
|
||
public string? LegalPersonIdBackUrl { get; init; }
|
||
|
||
/// <summary>
|
||
/// 开户名。
|
||
/// </summary>
|
||
public string? BankAccountName { get; init; }
|
||
|
||
/// <summary>
|
||
/// 银行账号。
|
||
/// </summary>
|
||
public string? BankAccountNumber { get; init; }
|
||
|
||
/// <summary>
|
||
/// 银行名称。
|
||
/// </summary>
|
||
public string? BankName { get; init; }
|
||
|
||
/// <summary>
|
||
/// 微信商户号。
|
||
/// </summary>
|
||
public string? WeChatMerchantNo { get; init; }
|
||
|
||
/// <summary>
|
||
/// 支付宝 PID。
|
||
/// </summary>
|
||
public string? AlipayPid { get; init; }
|
||
|
||
/// <summary>
|
||
/// 附加资料(JSON)。
|
||
/// </summary>
|
||
public string? AdditionalDataJson { get; init; }
|
||
|
||
/// <summary>
|
||
/// 提交时间。
|
||
/// </summary>
|
||
public DateTime? SubmittedAt { get; init; }
|
||
|
||
/// <summary>
|
||
/// 审核人 ID。
|
||
/// </summary>
|
||
[JsonConverter(typeof(NullableSnowflakeIdJsonConverter))]
|
||
public long? ReviewedBy { get; init; }
|
||
|
||
/// <summary>
|
||
/// 审核备注。
|
||
/// </summary>
|
||
public string? ReviewRemarks { get; init; }
|
||
|
||
/// <summary>
|
||
/// 最新审核人。
|
||
/// </summary>
|
||
public string? ReviewedByName { get; init; }
|
||
|
||
/// <summary>
|
||
/// 审核时间。
|
||
/// </summary>
|
||
public DateTime? ReviewedAt { get; init; }
|
||
}
|