parent
27629fbe3b
commit
d7b5563d0f
|
@ -0,0 +1,14 @@
|
|||
import {Entity, PrimaryGeneratedColumn, Column} from "typeorm";
|
||||
|
||||
@Entity()
|
||||
export class Track {
|
||||
@PrimaryGeneratedColumn()
|
||||
id!: number;
|
||||
|
||||
@Column()
|
||||
name!: string;
|
||||
|
||||
//Length in meters
|
||||
@Column()
|
||||
length!: string;
|
||||
}
|
Loading…
Reference in New Issue