package com.crm.globex.service;

import com.crm.rely.backend.core.exception.ServiceException;
import com.crm.rely.backend.model.entity.custom.login.asset.management.CustomLoginAssetManagementAddEntity;
import com.crm.rely.backend.model.pojo.table.CustomLoginAssetManagementTable;

/**
 * @description:
 * @author: houn
 * @create: 2020-07-31 23:03
 **/
public interface CustomLoginAssetManagementService {

    void add(CustomLoginAssetManagementAddEntity entity) throws ServiceException;

    boolean existByCustomIdAndLogin(Long customId, Long login) throws ServiceException;

    CustomLoginAssetManagementTable getByCustomIdAndLogin(Long customId, Long login) throws ServiceException;

}
