1 parent
27629fbe3b
commit
d7b5563d0f
1 file changed
+14
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user