poc model

This commit is contained in:
2025-10-16 20:37:27 +02:00
parent 60add3a923
commit 5750a5d7aa
15 changed files with 241 additions and 220 deletions

View File

@@ -0,0 +1,3 @@
<p>Diese Komponente später löschen, nur ein Proof Of Concept für die Modellverwendung!</p>
<p>{{ ticket.id }}</p>
<p>{{ ticket.code }}</p>

View File

@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PocModelComponent } from './poc-model-component';
describe('PocModelComponent', () => {
let component: PocModelComponent;
let fixture: ComponentFixture<PocModelComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [PocModelComponent]
})
.compileComponents();
fixture = TestBed.createComponent(PocModelComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,15 @@
import { Component } from '@angular/core';
import { Eintrittskarte } from '@InfiniMotion/model-frontend';
@Component({
selector: 'app-poc-model-component',
standalone: false,
templateUrl: './poc-model-component.html',
styleUrl: './poc-model-component.css',
})
export class PocModelComponent {
ticket: Eintrittskarte = {
id: 12345,
code: 'ABCDEF',
};
}