UNPKG

tshex-cli

Version:

Typescript Hexagonal Architecture CLI

49 lines (27 loc) 851 B
// Libraries // Same Layer // Lower Layers // Types // Constants /** * @description An Aggregate is a class that contains business logic that doesn't belong to any entity. * It is used to perform operations that don't fit into an entity or involve multiple entities. * Normally, method arguments are entities. */ export default abstract class Aggregate { [property: string]: unknown; // public ATTRIBUTES // protected ATTRIBUTES // private ATTRIBUTES // public static ATTRIBUTES // protected static ATTRIBUTES // private static ATTRIBUTES // Constructor, Getters, Setters // public METHODS // protected METHODS // private METHODS // public static METHODS // protected static METHODS // private static METHODS } //:: class