using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;

namespace Performance.DtoModels
{
    public class SecondEmpRequest
    {
        public int TempId { get; set; }

        public int SecondId { get; set; }

        public string EmployeeName { get; set; }

        public string JobNumber { get; set; }

    }
    public class SecondEmpRequestValidator : AbstractValidator<SecondEmpRequest>
    {
        public SecondEmpRequestValidator()
        {
            RuleFor(x => x.TempId).NotNull().GreaterThan(0);
            RuleFor(x => x.SecondId).NotNull().GreaterThan(0);
        }
    }
}
