|
@@ -0,0 +1,19 @@
|
|
|
+using FluentValidation;
|
|
|
+using Hotline.Share.Requests;
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.Linq;
|
|
|
+using System.Text;
|
|
|
+using System.Threading.Tasks;
|
|
|
+
|
|
|
+namespace Hotline.Application.Contracts.Bi
|
|
|
+{
|
|
|
+ public class QueryOrderDelayDataListRequestValidator: AbstractValidator<QueryOrderDelayDataListRequest>
|
|
|
+ {
|
|
|
+ public QueryOrderDelayDataListRequestValidator()
|
|
|
+ {
|
|
|
+ RuleFor(d => d.StartTime).NotEmpty().WithMessage("请选择查询时间");
|
|
|
+ RuleFor(d => d.EndTime).NotEmpty().WithMessage("请选择查询时间");
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|