export class Author { private authorName : string ; private authorId : number ; private authorColor : string ; constructor ( authorName , authorId , authorColor ) { this . authorName = authorName ; this . authorId = authorId ; this . authorColor = authorColor ; } getColor ( ) { return this . authorColor ; } getId ( ) { return this . authorId ; } getName ( ) { return this . authorName ; } }