Start moving data server handling from pinia store to server
This commit is contained in:
11
software/src/data/models/acts/eventModel.ts
Normal file
11
software/src/data/models/acts/eventModel.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { BandModel } from "./bandModel"
|
||||
import { ConcertModel } from "./concertModel"
|
||||
|
||||
export class EventModel {
|
||||
id: number
|
||||
name: string
|
||||
offered: boolean
|
||||
image: string
|
||||
band: BandModel
|
||||
concerts: Array<ConcertModel>
|
||||
}
|
||||
@@ -1,6 +1,9 @@
|
||||
import { BandModel } from "./bandModel"
|
||||
import { ConcertModel } from "./concertModel"
|
||||
|
||||
/**
|
||||
* @deprecated Use EventModel!
|
||||
*/
|
||||
export class TourModel {
|
||||
id: number
|
||||
name: string
|
||||
|
||||
Reference in New Issue
Block a user