package com.ruoyi.web.modules.content.service;

import com.ruoyi.web.modules.content.domain.BizMerchantEntryAgreement;
import com.ruoyi.web.modules.content.vo.MerchantEntryAgreementAppVO;
import com.ruoyi.web.modules.content.vo.MerchantEntryAgreementConfigVO;
import com.ruoyi.web.modules.content.vo.MerchantEntryStatusVO;

/**
 * 商家入驻协议服务
 */
public interface IMerchantEntryAgreementService
{
    MerchantEntryAgreementConfigVO getConfig();

    void saveConfig(BizMerchantEntryAgreement row, String operator);

    MerchantEntryAgreementAppVO getForApp();

    MerchantEntryStatusVO getEntryStatus();

    boolean isEnabled();

    void assertAccepted(boolean agreementAccepted);

    String buildCheckboxLabel(String agreementTitle, String versionLabel);
}
