package jnpf.attendance.schedule;

/**
 * {@link StaffRuleEvaluationPort} 的全放行实现：硬约束与五个固定维度均视为不违反。
 * <p>
 * 用于算法骨架联调、单元测试或尚未接入人事数据时；生产环境应使用
 * {@link StaffRuleEvaluationPortUsingScheduleRulesAndWorkSituation}。
 * <p>
 * 当 {@link AutoScheduleService} 无规则配置且无工作状态数据时也会回退到本实现。
 */
public final class StaffRuleEvaluationPortPermissive implements StaffRuleEvaluationPort {

    @Override
    public boolean passesOperationalHardConstraints(String employeeId, StaffAssignmentContext context) {
        return true;
    }

    @Override
    public boolean violatesDailyWorkHoursLimit(String employeeId, StaffAssignmentContext context) {
        return false;
    }

    @Override
    public boolean violatesConsecutiveWorkDaysLimit(String employeeId, StaffAssignmentContext context) {
        return false;
    }

    @Override
    public boolean violatesWeeklyWorkDaysLimit(String employeeId, StaffAssignmentContext context) {
        return false;
    }

    @Override
    public boolean violatesWeeklyWorkHoursLimit(String employeeId, StaffAssignmentContext context) {
        return false;
    }

    @Override
    public boolean violatesMinRestBetweenShifts(String employeeId, StaffAssignmentContext context) {
        return false;
    }
}
