Added jsdoc style class documentation

ref #3
This commit is contained in:
Nicolai Ort 2020-11-27 19:57:10 +01:00
parent 24d890f638
commit d2278fd248
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@ import {
IsString,
} from "class-validator";
/**
* @classdesc Defines a track of given length.
* @property {number} id - Autogenerated unique id
* @property {string} name - The track's name
* @property {number} lenth - The track's length in meters
*/
@Entity()
export class Track {
@PrimaryGeneratedColumn()