package com.ai.trackwalker.uavaccess.common;

import java.util.UUID;

public record AccessApiResponse<T>(String code, String message, String requestId, T data) {
    public static <T> AccessApiResponse<T> ok(T data) {
        return new AccessApiResponse<>("0", "success", UUID.randomUUID().toString(), data);
    }
}
