Files
LangBot/web/src/app/home/pipelines/components/pipeline-card/PipelineCardVO.ts
T
2025-05-07 11:53:39 +08:00

24 lines
540 B
TypeScript

export interface IPipelineCardVO {
id: string;
name: string;
description: string;
lastUpdatedTimeAgo: string;
isDefault: boolean;
}
export class PipelineCardVO implements IPipelineCardVO {
id: string;
description: string;
name: string;
lastUpdatedTimeAgo: string;
isDefault: boolean;
constructor(props: IPipelineCardVO) {
this.id = props.id;
this.name = props.name;
this.description = props.description;
this.lastUpdatedTimeAgo = props.lastUpdatedTimeAgo;
this.isDefault = props.isDefault;
}
}