25 lines
356 B
TypeScript
25 lines
356 B
TypeScript
import { IDate } from '../index';
|
|
import { IArticle } from '../index';
|
|
|
|
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[];
|
|
}
|