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 {}