26 lines
350 B
TypeScript
26 lines
350 B
TypeScript
import { IDate } from './date'
|
|
import { IArticle } from './article'
|
|
|
|
export interface IAuthor {
|
|
|
|
/**
|
|
* the first name of an author
|
|
*/
|
|
firstName: string
|
|
|
|
/**
|
|
* the surname of an author
|
|
*/
|
|
surName: string
|
|
|
|
/**
|
|
* the birthday of an author
|
|
*/
|
|
birthday: IDate
|
|
|
|
/**
|
|
* articles of an author
|
|
*/
|
|
articles: IArticle[]
|
|
}
|