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

17 lines
332 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 {
2023-12-28 16:18:49 +01:00
id?: Guid;
isActive?: IsActive;
createdAt?: Date;
updatedAt?: Date;
hash?: string;
belongsToCurrentTenant?: boolean;
}
export interface BaseEntityPersist {
2023-12-28 16:18:49 +01:00
id?: Guid;
hash?: string;
}