package shop.alien.entity.result;


public interface CommonEnum {

    /**
     * 商品所属模块
     */
    enum ModelType {
        BAR(1, "酒吧"),
        DELICACY(2, "美食"),
        GYM(3, "运动健身");

        private final int code;
        private final String desc;

        ModelType(int code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public int getCode() { return code; }
        public String getDesc() { return desc; }
    }

    /**
     * 商品所属模块,细化
     */
    enum StoreProductItemProdType {
        BAR_DRINK(1, "酒吧-酒水"),
        BAR_FOOD(2, "酒吧-餐食"),
        BAR_COMBO(3, "酒吧-套餐"),
        DELICACY_FOOD(4, "美食-餐食"),
        GYM_SINGLE(5, "运动健身-单次"),
        GYM_MULTI(6, "运动健身-多次");

        private final int code;
        private final String desc;

        StoreProductItemProdType(int code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public int getCode() { return code; }
        public String getDesc() { return desc; }
    }
}
