argos/dmp-frontend/src/common/base/base-entity.model.ts

16 lines
290 B
TypeScript
Raw Normal View History

import { IsActive } from '@app/core/common/enum/is-active.enum';
import { Guid } from '@common/types/guid';
export interface BaseEntity {
id: Guid;
isActive: IsActive;
createdAt: Date;
updatedAt: Date;
hash: string;
}
export interface BaseEntityPersist {
id: Guid;
hash: string;
}