Package co.mastermindcms.modules.beans
Class SellerSKU
- java.lang.Object
-
- co.mastermindcms.common.entities.Auditable<java.lang.String>
-
- co.mastermindcms.modules.beans.SellerSKU
-
- All Implemented Interfaces:
java.io.Serializable
@CompoundIndex(def="{\'name\':1, \'searchTerms\':1, \'keywords\':1}",name="search_terms_idx") @CompoundIndex(def="{\'logicalTypeFilters\':1, \'listTypeFilters\':1, \'simpleTypeFilters\':1}",name="filters_idx") @CompoundIndex(def="{\'rangeFilters\':1}",name="range_filters_idx") @CompoundIndex(def="{\'numericFilters\':1}",name="numeric_filters_idx") @TypeAlias("SellerSKU") public class SellerSKU extends Auditable<java.lang.String>
An object of sale.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
additionalTextInfo
private java.util.List<AttributeValue>
attributeValues
private Country
countryOfOrigin
private Country
countryOfSeller
private CurrencyItem
currencyItem
private DeliveryType
deliveryType
private @Pattern(message="Type can contain alphanumeric characters only",regexp="[a-zA-Z0-9]+") java.lang.String
description
private java.util.HashSet<Attachment>
documentURLs
private java.time.LocalDate
durabilityDate1
private java.time.LocalDate
durabilityDate2
private EmbeddedBean
embeddedSeller
private EmbeddedBean
embeddedSku
private java.time.LocalDate
expireDate
static java.lang.String
GENERATE_SEQUENCE_NAME
private GeneticType
geneticType
private java.lang.String
id
private java.util.List<java.lang.String>
imageURLs
private IncoTerms
incoTerm
private Inventory
inventory
private boolean
isPublishedForSale
private boolean
isRandomGenerated
private java.lang.String
keywords
private java.lang.String
listTypeFilters
private java.lang.String
logicalTypeFilters
private @Pattern(message="Type can contain alphanumeric characters only",regexp="[a-zA-Z0-9]+") java.lang.String
name
private java.util.List<Numeric>
numericFilters
private java.util.HashSet<CommerceItem>
orderedItems
private java.util.HashSet<Inventory>
packagedItems
private PackageItem
packageItem
private java.math.BigDecimal
price
private java.util.HashSet<EmbeddedBean>
productsRef
private java.util.List<Range>
rangeFilters
private java.lang.Float
score
private java.lang.String
searchTerms
static java.lang.String
SEQUENCE_NAME
private java.lang.String
simpleTypeFilters
private SellerSkuType
type
private Unit
unit
-
Fields inherited from class co.mastermindcms.common.entities.Auditable
createdBy, createdDate, lastModifiedBy, lastModifiedDate, metaInfo
-
-
Constructor Summary
Constructors Constructor Description SellerSKU()
-
Method Summary
-
Methods inherited from class co.mastermindcms.common.entities.Auditable
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, getMetaInfo, putMetaInfo, removeMetaInfo, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate, setMetaInfo
-
-
-
-
Field Detail
-
id
private java.lang.String id
-
type
private SellerSkuType type
-
geneticType
private GeneticType geneticType
-
name
@TextIndexed @Pattern(message="Type can contain alphanumeric characters only", regexp="[a-zA-Z0-9]+") private @Pattern(message="Type can contain alphanumeric characters only",regexp="[a-zA-Z0-9]+") java.lang.String name
-
packageItem
private PackageItem packageItem
-
inventory
@DBRef private Inventory inventory
-
description
@Pattern(message="Type can contain alphanumeric characters only", regexp="[a-zA-Z0-9]+") private @Pattern(message="Type can contain alphanumeric characters only",regexp="[a-zA-Z0-9]+") java.lang.String description
-
additionalTextInfo
private java.lang.String additionalTextInfo
-
price
@NumberFormat(pattern="#.##") private java.math.BigDecimal price
-
currencyItem
private CurrencyItem currencyItem
-
countryOfOrigin
private Country countryOfOrigin
-
countryOfSeller
private Country countryOfSeller
-
productsRef
private java.util.HashSet<EmbeddedBean> productsRef
-
expireDate
@DateTimeFormat(pattern="yyyy-MM-dd") private java.time.LocalDate expireDate
-
durabilityDate1
@DateTimeFormat(pattern="yyyy-MM-dd") private java.time.LocalDate durabilityDate1
-
durabilityDate2
@DateTimeFormat(pattern="yyyy-MM-dd") private java.time.LocalDate durabilityDate2
-
incoTerm
private IncoTerms incoTerm
-
deliveryType
private DeliveryType deliveryType
-
unit
@DBRef private Unit unit
-
imageURLs
private java.util.List<java.lang.String> imageURLs
-
keywords
@TextIndexed private java.lang.String keywords
-
searchTerms
@TextIndexed private java.lang.String searchTerms
-
embeddedSku
private EmbeddedBean embeddedSku
-
embeddedSeller
private EmbeddedBean embeddedSeller
-
orderedItems
@DBRef(lazy=true) private java.util.HashSet<CommerceItem> orderedItems
-
packagedItems
@DBRef(lazy=true) private java.util.HashSet<Inventory> packagedItems
-
attributeValues
@DBRef(lazy=true) private java.util.List<AttributeValue> attributeValues
-
logicalTypeFilters
private java.lang.String logicalTypeFilters
-
listTypeFilters
private java.lang.String listTypeFilters
-
simpleTypeFilters
private java.lang.String simpleTypeFilters
-
rangeFilters
private java.util.List<Range> rangeFilters
-
numericFilters
private java.util.List<Numeric> numericFilters
-
documentURLs
private java.util.HashSet<Attachment> documentURLs
-
isRandomGenerated
private boolean isRandomGenerated
-
isPublishedForSale
private boolean isPublishedForSale
-
SEQUENCE_NAME
public static final java.lang.String SEQUENCE_NAME
- See Also:
- Constant Field Values
-
GENERATE_SEQUENCE_NAME
public static final java.lang.String GENERATE_SEQUENCE_NAME
- See Also:
- Constant Field Values
-
score
@TextScore private java.lang.Float score
-
-