package com.sikey.wa04.business.domain.adapter;

import com.sikey.wa04.business.domain.entity.ChildFence;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

import java.util.List;

/**
 * @Author: qin
 * @Date: 2025/3/17
 * @Description: 小孩围栏
 */
public interface ChildFenceAdapter {

    /**
     * 获取儿童围栏
     *
     * @param childId 儿童id
     * @param state   状态
     * @return
     */
    List<ChildFence> findNotDisableByChildrenId(@Size(max = 36) @NotNull String childId, Boolean state);
}
