Files
tsclass/ts/content/author.ts

24 lines
340 B
TypeScript
Raw Normal View History

2020-01-19 10:19:38 +00:00
import { general, content } from '..';
2016-11-16 19:52:46 +01:00
2016-11-16 22:50:36 +01:00
export interface IAuthor {
2017-03-16 19:34:27 +01:00
/**
* the first name of an author
*/
2018-06-09 15:11:37 +02:00
firstName: string;
2016-11-16 19:52:46 +01:00
2017-03-16 19:34:27 +01:00
/**
* the surname of an author
*/
2018-06-09 15:11:37 +02:00
surName: string;
2016-11-16 19:52:46 +01:00
2017-03-16 19:34:27 +01:00
/**
* the birthday of an author
*/
2020-01-19 10:19:38 +00:00
birthday: general.IDate;
2016-11-16 19:52:46 +01:00
2017-03-16 19:34:27 +01:00
/**
* articles of an author
*/
2020-01-19 10:19:38 +00:00
articles: content.IArticle[];
2016-11-17 12:06:33 +01:00
}