UNPKG

ddd-tool-kit

Version:

A development tool kit for using Domain Driven Design in your Web API Node.js

9 lines (8 loc) 407 B
import { DateValueObject } from '../../implementations/value-objects/date/date.value-object'; import { Entity } from '../entity/entity.abstract'; import { IBaseDomainAggregate } from './base-domain-aggregate'; export declare abstract class Aggregate<T extends IBaseDomainAggregate> extends Entity<T> { constructor(props: T); get createdAt(): DateValueObject; get updatedAt(): DateValueObject; }