This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
2022-06-05 18:44:51 +00:00
|
|
|
using FluentValidation;
|
|
|
|
|
2023-01-16 19:45:59 +00:00
|
|
|
namespace MfGames.Nitride.Temporal.Validators;
|
2022-06-05 18:44:51 +00:00
|
|
|
|
2023-01-15 00:19:42 +00:00
|
|
|
public class FilterOutExpiredInstantValidator
|
|
|
|
: AbstractValidator<FilterOutExpiredInstant>
|
2022-06-05 18:44:51 +00:00
|
|
|
{
|
|
|
|
public FilterOutExpiredInstantValidator()
|
|
|
|
{
|
2022-07-09 04:52:10 +00:00
|
|
|
this.RuleFor(x => x.Timekeeper)
|
|
|
|
.NotNull();
|
2022-06-05 18:44:51 +00:00
|
|
|
}
|
|
|
|
}
|