package com.ruoyi.web.modules.farming.support;

import com.ruoyi.web.modules.diagnosis.domain.BizServiceAppointment;
import com.ruoyi.web.modules.diagnosis.support.VetAppointmentValidation;

/**
 * 我的预约（专家）入参校验（与兽医五态规则一致）。
 */
public final class ExpertAppointmentValidation
{
    private ExpertAppointmentValidation()
    {
    }

    public static void validateListQuery(BizServiceAppointment query)
    {
        VetAppointmentValidation.validateListQuery(query);
    }

    public static void validateRejectReason(String rejectReason)
    {
        VetAppointmentValidation.validateRejectReason(rejectReason);
    }

    public static String trimRejectReason(String rejectReason)
    {
        return VetAppointmentValidation.trimRejectReason(rejectReason);
    }
}
