src.app.core.model.scenario.technical-step.model.ts Maven / Gradle / Ivy
import { areEquals, Equals } from '@shared/equals';
import { cloneAsPossible, Clonable } from '@shared/clonable';
export class TechnicalStep implements Equals, Clonable {
constructor(public task: string = '') { }
public equals(obj: TechnicalStep): boolean {
return obj && areEquals(this.task, obj.task);
}
public clone(): TechnicalStep {
return new TechnicalStep(cloneAsPossible(this.task));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy