20 lines
640 B
TypeScript
20 lines
640 B
TypeScript
import { AttributeDataType } from '../enums/attribute-data-type.enum';
|
|
import { ProductAttributeValue } from './product-attribute-value.entity';
|
|
export declare class AttributeDefinition {
|
|
id: string;
|
|
name: string;
|
|
slug: string;
|
|
dataType: AttributeDataType;
|
|
unit?: string | null;
|
|
options: string[];
|
|
defaultValueText?: string | null;
|
|
defaultValueNumber?: string | null;
|
|
defaultValueBoolean?: boolean | null;
|
|
defaultValueJson?: Record<string, unknown> | string[] | null;
|
|
isFilterable: boolean;
|
|
isVisible: boolean;
|
|
values: ProductAttributeValue[];
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
}
|