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

/**
 * 商品常量
 */
public final class GoodsConstants
{
    private GoodsConstants()
    {
    }

    public static final String STATUS_DRAFT = "0";

    public static final String STATUS_PENDING = "1";

    public static final String STATUS_ON_SALE = "2";

    public static final String STATUS_REJECTED = "3";

    public static final String STATUS_OFF_SHELF = "4";

    public static final String DEL_NORMAL = "0";

    public static final String DEL_DELETED = "2";

    public static final String REDIS_SN_PREFIX = "agri:goods:sn:";

    public static final String MSG_ILLEGAL_STATUS_CHANGE = "请通过提交上架、审核或下架变更商品状态";

    public static final String MSG_CANNOT_REVERT_DRAFT = "当前状态不可改为未上架";

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

    public static final String MSG_GOODS_NOT_FOUND = "商品不存在";

    public static final String MSG_NOT_OWNER = "无权操作该商品";

    public static final String MSG_CATEGORY_INVALID = "请选择本店二级分类";

    public static final String MSG_SUBMIT_INVALID = "当前状态不可提交上架";

    public static final String MSG_AUDIT_INVALID = "仅待审核商品可审核";

    public static final String MSG_REJECT_REASON = "请填写驳回原因";

    public static final String MSG_OFF_SHELF_INVALID = "仅出售中商品可下架";

    public static final String MSG_BATCH_FAIL = "部分商品不满足操作条件，操作已取消";

    public static final String MSG_SERVICE_INVALID = "存在无效的商品服务项";

    public static final String DICT_GOODS_STATUS = "goods_status";
}
