import {EStepType} from './e-step-type.model'; export interface IProductStep { id?: string; order?: number; dependent?: boolean; stepId?: string; stepType?: EStepType; visibleCriteriaId?: string; productCollectionId?: string; } export class ProductStep implements IProductStep { constructor( public id?: string, public order?: number, public dependent?: boolean, public stepId?: string, public stepType?: EStepType, public visibleCriteriaId?: string, public productCollectionId?: string ) { this.dependent = this.dependent || false; } }