IMAccountService.java 596 Bytes
package vion.service.monitor;

import com.github.yulichang.base.MPJBaseService;
import vion.model.monitor.MAccount;
import vion.model.monitor.RAccountEvent;
import vion.model.monitor.RUserAccount;

import java.util.List;

/**
 * @author vion
 * @date 2024/10/31
 */
public interface IMAccountService extends MPJBaseService<MAccount> {

    List<RAccountEvent> getEventById(String uid);

    String saveEvent(String agentUid, String uid, RAccountEvent event);

    List<RUserAccount> subList(Long userId);

    String sub(RUserAccount userAccount);

    String unsub(RUserAccount userAccount);

}