/** * You shall not write add more methods to this domain object interface! * This domain object interface only works when initializing every property in * the father domain object (like book, customer, etc...) */ export interface DomainObject {} /** * You shall not write more methods to this domain plural object interface! */ export interface PluralDomainObject {} /** * This is only to represent the class of a plural object * (Cause you can't define it in the interface) */ export type DomainObjectClass = { new (obj?: Record): R };