mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-01 15:51:41 +02:00
Add constructors and accessors to models
This commit is contained in:
@ -1,4 +1,10 @@
|
||||
export class Language {
|
||||
|
||||
constructor(id: number, name: string) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user