/* ** Chromis POS - Open Source Point of Sale ** ** This file is part of Chromis POS Version Chromis V1.5.4 ** ** Copyright (c) 2015-2023 Chromis & previous Openbravo POS related works ** ** https://www.chromis.co.uk ** ** Chromis POS is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** Chromis POS is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with Chromis POS. If not, see ** */ package uk.chromis.pos.inventory; import uk.chromis.data.loader.IKeyed; public class AttributeSetInfo implements IKeyed { private String id; private String name; private String siteGuid; public AttributeSetInfo(String id, String name) { this.id = id; this.name = name; } public AttributeSetInfo(String id, String name, String siteGuid) { this.id = id; this.name = name; this.siteGuid = siteGuid; } @Override public Object getKey() { return id; } public String getSiteGuid() { return siteGuid; } public String getId() { return id; } public String getName() { return name; } @Override public String toString() { return name; } }