using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OASystem.Domain.Dtos.Groups
{
    public class InforDtos
    {
    }

    public class InforRetrogressTableFileDownloadDto
    {
        public int GroupId { get; set; }
        public int CurrUserId { get; set; }
    }

    public class InforRetrogressTableFileDownloadDtoValidator : AbstractValidator<InforRetrogressTableFileDownloadDto>
    {
        public InforRetrogressTableFileDownloadDtoValidator()
        {
            RuleFor(x => x.GroupId).GreaterThan(0).WithMessage(MsgTips.DiId);
            RuleFor(x => x.CurrUserId).GreaterThan(0).WithMessage(MsgTips.DiId);
        }
    }
}