using FluentValidation;
using TakeoutSaaS.Application.App.Stores.Commands;

namespace TakeoutSaaS.Application.App.Stores.Validators;

/// <summary>
/// 提交门店审核命令验证器。
/// </summary>
public sealed class SubmitStoreAuditCommandValidator : AbstractValidator<SubmitStoreAuditCommand>
{
    /// <summary>
    /// 初始化验证规则。
    /// </summary>
    public SubmitStoreAuditCommandValidator()
    {
        RuleFor(x => x.StoreId).GreaterThan(0);
    }
}
