ProductOptionGroup

ProductOptionGroup

Documentation generated from product-option-group.entity.ts on Feb 19 2019 at 16:20

A grouping of one or more ProductOptions.

Signature

class ProductOptionGroup {
  constructor(input: DeepPartial<ProductOptionGroup>)
  name: LocaleString;
  @Column()
    code: string;
  @OneToMany(type => ProductOptionGroupTranslation, translation => translation.base, { eager: true })
    translations: Array<Translation<ProductOptionGroup>>;
  @OneToMany(type => ProductOption, option => option.group)
    options: ProductOption[];
  @Column(type => CustomProductOptionGroupFields)
    customFields: CustomProductOptionGroupFields;
}

Members

constructor

method
type:
(input: DeepPartial<ProductOptionGroup>) => ProductOptionGroup

name

property
type:
LocaleString

code

property
type:
string

translations

property
type:
Array<Translation<ProductOptionGroup>>

options

property
type:
ProductOption[]

customFields

property
type:
CustomProductOptionGroupFields
alpha