@neram-models/base
v1.0.0
Published
Collection of abstract base models
Downloads
3
Readme
Base models
Collection of abstract base models
TimestampableEntity (abstract)
Adds the following properties to a model and sets them automatically
| Property | Type | | --------- | ---- | | id | uuid | | createdAt | Date | | updatedAt | Date |
How to use
import { TimestampableEntity } from '@neram-models/base';
class MyModel extends TimestampableEntity {}