Initial commit
This commit is contained in:
13
src/domain/ICategory.ts
Normal file
13
src/domain/ICategory.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { IEntity } from '../infrastructure/Entity/IEntity';
|
||||
import { IScript } from './IScript';
|
||||
import { IDocumentable } from './IDocumentable';
|
||||
|
||||
export interface ICategory extends IEntity<number>, IDocumentable {
|
||||
readonly id: number;
|
||||
readonly name: string;
|
||||
readonly subCategories?: ReadonlyArray<ICategory>;
|
||||
readonly scripts?: ReadonlyArray<IScript>;
|
||||
}
|
||||
|
||||
export { IEntity } from '../infrastructure/Entity/IEntity';
|
||||
export { IScript } from './IScript';
|
||||
Reference in New Issue
Block a user