Updated project and solution files to rename and restructure `DocumentOperator` to `DocumentService`. Modified project references in `DocumentService.API.csproj`, `DocumentService.Application.csproj`, and `DocumentService.Infrastructure.csproj` to reflect the new naming convention. Updated `DocumentService.sln` to remove old project references, add new ones, and adjust configuration and nested project mappings accordingly. This change aligns the project structure with the new naming convention.
17 lines
385 B
C#
17 lines
385 B
C#
using FluentValidation;
|
|
|
|
namespace DocumentService.Application.HasZugferd.Queries;
|
|
|
|
/// <summary>
|
|
/// Validator for HasZugferdQuery
|
|
/// </summary>
|
|
public class HasZugferdQueryValidator : AbstractValidator<HasZugferdQuery>
|
|
{
|
|
public HasZugferdQueryValidator()
|
|
{
|
|
RuleFor(x => x.PdfStream)
|
|
.NotNull()
|
|
.WithMessage("PDF stream is required");
|
|
}
|
|
}
|