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

10 lines
139 B
TypeScript
Raw Normal View History

2024-12-08 15:38:17 +00:00
export class Item {
id: string;
data: string;
constructor(id: string, data: string) {
this.id = id;
this.data = data;
}
}