Indexable
[key: string]: any
Methods
getId
- getId(): string
-
Returns string
hasId
- hasId(): boolean
-
Returns boolean
isNew
- isNew(): boolean
-
Returns boolean
markAsNew
- markAsNew(): void
-
Returns void
markAsNotNew
- markAsNotNew(): void
-
Returns void
refreshCreated
- refreshCreated(): void
-
Returns void
refreshId
- refreshId(): void
-
Returns void
refreshUpdated
- refreshUpdated(): void
-
Returns void
setId
- setId(id): void
-
Returns void
tableName
- tableName(): string
-
Returns string
Model defines an interface with common methods that all db models should have.