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

namespace Performance.DtoModels
{
    /// <summary>
    /// 登录请求
    /// </summary>
    public class SetDepartmentRequest
    {
        public int HospitalID { get; set; }
    }

    public class SetDepartmentRequestValidator : AbstractValidator<SetDepartmentRequest>
    {
        public SetDepartmentRequestValidator()
        {
            RuleFor(x => x.HospitalID).GreaterThan(0);
        }
    }
}
