2023-10-20 17:01:09 +02:00
|
|
|
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;
|
2023-10-20 17:01:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface BaseEntityPersist {
|
2023-12-28 16:18:49 +01:00
|
|
|
id?: Guid;
|
|
|
|
hash?: string;
|
2023-10-20 17:01:09 +02:00
|
|
|
}
|