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 Commodity
commodity
The commodityCustomerGroup
customerGroup
The customer groupjava.util.Date
deleted
A deletion timestampjava.lang.String
externalRef
The external reference number that this customer group uses for this commodityjava.lang.Double
price
The price that you see this item to this customer group forjava.lang.String
upc
The 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 Commodity
getCommodity()
CustomerGroup
getCustomerGroup()
java.util.Date
getDeleted()
java.lang.String
getExternalRef()
java.lang.Double
getPrice()
java.lang.String
getUpc()
void
setCommodity(Commodity commodity)
void
setCustomerGroup(CustomerGroup customerGroup)
void
setDeleted(java.util.Date deleted)
void
setExternalRef(java.lang.String externalRef)
void
setPrice(java.lang.Double price)
void
setUpc(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)
-
-