1.0.0 • Published 1 year ago
@neram-models/base v1.0.0
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 {}
1.0.0
1 year ago