public static YesOrNoEnum valueOf(Boolean booleanValue) {
        if (booleanValue == null) {
            return null;
        }
        if (booleanValue) {
            return YesOrNoEnum.YES;
        }
        return YesOrNoEnum.NO;
    }
Convert based on boolean value

@param booleanValue Boolean value
@return
chat2db-server/chat2db-server-tools/chat2db-server-tools-base/src/main/java/ai/chat2db/server/tools/base/enums/YesOrNoEnum.java