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

/**
 * 商城服务协议常量
 */
public final class MallServiceAgreementConstants
{
    private MallServiceAgreementConstants()
    {
    }

    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;

    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_REGISTRATION_CLOSED = "会员注册暂未开放";

    public static final String MSG_AGREE_REQUIRED = "请先阅读并同意商城服务协议";
}
