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

/**
 * 商家入驻协议常量
 */
public final class MerchantEntryAgreementConstants
{
    private MerchantEntryAgreementConstants()
    {
    }

    public static final long CONFIG_ID = 1L;

    public static final String ENABLE_YES = "1";

    public static final String ENABLE_NO = "0";

    public static final int MAX_TITLE_LENGTH = 128;

    public static final int MAX_VERSION_LENGTH = 32;

    /** 富文本应用层上限 512KB */
    public static final int MAX_CONTENT_BYTES = 512 * 1024;

    public static final String MSG_TITLE_REQUIRED = "请输入协议标题";

    public static final String MSG_CONTENT_REQUIRED_WHEN_ENABLED = "启用状态下请填写协议内容";

    public static final String MSG_CONTENT_BLANK = "协议内容不能为空";

    public static final String MSG_ENABLE_FLAG_INVALID = "是否启用参数无效";

    public static final String MSG_ENTRY_CLOSED = "商家入驻暂未开放";

    public static final String MSG_AGREE_REQUIRED = "请先阅读并同意商家入驻协议";
}
