using MediatR;
using TakeoutSaaS.Application.App.Stores.Dto;
using TakeoutSaaS.Domain.Stores.Enums;
namespace TakeoutSaaS.Application.App.Stores.Commands;
///
/// 创建门店资质命令。
///
public sealed record CreateStoreQualificationCommand : IRequest
{
///
/// 门店 ID。
///
public long StoreId { get; init; }
///
/// 资质类型。
///
public StoreQualificationType QualificationType { get; init; }
///
/// 证照文件 URL。
///
public string FileUrl { get; init; } = string.Empty;
///
/// 证照编号。
///
public string? DocumentNumber { get; init; }
///
/// 签发日期。
///
public DateOnly? IssuedAt { get; init; }
///
/// 到期日期。
///
public DateOnly? ExpiresAt { get; init; }
///
/// 排序值。
///
public int SortOrder { get; init; } = 100;
}