Package com.sgs.common.database
Class CustomerGroupCommodity
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.CustomerGroupCommodity
-
public class CustomerGroupCommodity extends HibernateObject
This class represents the link between customer groups and commodities. It helps identify which commodities are sold by which customer groups along with other information that can be stored alongside this data- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description CommoditycommodityThe commodityCustomerGroupcustomerGroupThe customer groupjava.util.DatedeletedA deletion timestampjava.lang.StringexternalRefThe external reference number that this customer group uses for this commodityjava.lang.DoublepriceThe price that you see this item to this customer group forjava.lang.StringupcThe UPC for this product provided by the customer group-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description CustomerGroupCommodity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommoditygetCommodity()CustomerGroupgetCustomerGroup()java.util.DategetDeleted()java.lang.StringgetExternalRef()java.lang.DoublegetPrice()java.lang.StringgetUpc()voidsetCommodity(Commodity commodity)voidsetCustomerGroup(CustomerGroup customerGroup)voidsetDeleted(java.util.Date deleted)voidsetExternalRef(java.lang.String externalRef)voidsetPrice(java.lang.Double price)voidsetUpc(java.lang.String upc)-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
customerGroup
public CustomerGroup customerGroup
The customer group
-
commodity
public Commodity commodity
The commodity
-
externalRef
public java.lang.String externalRef
The external reference number that this customer group uses for this commodity
-
price
public java.lang.Double price
The price that you see this item to this customer group for
-
upc
public java.lang.String upc
The UPC for this product provided by the customer group
-
deleted
public java.util.Date deleted
A deletion timestamp
-
-
Method Detail
-
getCustomerGroup
public CustomerGroup getCustomerGroup()
-
setCustomerGroup
public void setCustomerGroup(CustomerGroup customerGroup)
-
getCommodity
public Commodity getCommodity()
-
setCommodity
public void setCommodity(Commodity commodity)
-
getExternalRef
public java.lang.String getExternalRef()
-
setExternalRef
public void setExternalRef(java.lang.String externalRef)
-
getPrice
public java.lang.Double getPrice()
-
setPrice
public void setPrice(java.lang.Double price)
-
getUpc
public java.lang.String getUpc()
-
setUpc
public void setUpc(java.lang.String upc)
-
getDeleted
public java.util.Date getDeleted()
-
setDeleted
public void setDeleted(java.util.Date deleted)
-
-