code-examples/2024/12/angular_demo1/src/app/models/Item.ts

10 lines
139 B
TypeScript

export class Item {
id: string;
data: string;
constructor(id: string, data: string) {
this.id = id;
this.data = data;
}
}