UNPKG

@mbc-cqrs-serverless/core

Version:
29 lines (28 loc) 698 B
import { DataModel } from './data-model.interface'; import { DetailKey } from './detail-key.interface'; export declare class DataEntity implements DataModel { cpk?: string; csk?: string; source?: string; requestId?: string; createdAt?: Date; updatedAt?: Date; createdBy?: string; updatedBy?: string; createdIp?: string; updatedIp?: string; pk: string; sk: string; id: string; code: string; name: string; version: number; tenantCode: string; type: string; seq?: number; ttl?: number; isDeleted?: boolean; attributes?: Record<string, any>; constructor(data: Partial<DataEntity>); get key(): DetailKey; }