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

/**
 * 属性模版常量
 */
public final class AttrTemplateConstants
{
    private AttrTemplateConstants()
    {
    }

    public static final String DEL_FLAG_NORMAL = "0";

    public static final String DEL_FLAG_DELETED = "2";

    /** 属性项 */
    public static final String ITEM_TYPE_ATTR = "1";

    /** 规格项 */
    public static final String ITEM_TYPE_SPEC = "2";

    public static final String MSG_SHOP_REQUIRED = "请先选择当前店铺";

    public static final String MSG_TEMPLATE_NAME_REQUIRED = "请输入属性模版名称";

    public static final String MSG_TEMPLATE_NAME_DUPLICATE = "属性模版名称已存在";

    public static final String MSG_NO_ITEM = "请至少添加一个属性项或规格项";

    public static final String MSG_ITEM_NAME_REQUIRED = "请输入属性项/规格项名称";

    public static final String MSG_ITEM_NAME_DUPLICATE = "属性项/规格项名称不可重复";

    public static final String MSG_CROSS_ITEM_NAME = "属性项与规格项名称不可相同";

    public static final String MSG_VALUE_REQUIRED = "请为每项至少添加一个属性值/规格值";

    public static final String MSG_VALUE_DUPLICATE = "同一项下属性值/规格值不可重复";

    public static final String MSG_TEMPLATE_NOT_FOUND = "属性模版不存在";

    public static final String MSG_DELETE_IDS_REQUIRED = "请选择要删除的属性模版";

    public static final String MSG_DELETE_IN_USE = "该属性模版已被商品使用，无法删除";

    public static final String MSG_BATCH_DELETE = "部分属性模版不满足删除条件，整批操作已取消";
}
