diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-19 23:57:18 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-19 23:57:18 +0300 |
commit | ad530510a4aba72f3074f1a7dec82cc9018db7b4 (patch) | |
tree | 5f684dce9eee4b67f18f20864bc26d83a3a4a075 /src/models/transfer/transfer.model.ts | |
parent | 3109e25f2cabb85bbccf4ba509e112e49f5c0120 (diff) | |
download | commercel-api-ad530510a4aba72f3074f1a7dec82cc9018db7b4.tar.gz |
feat: add Transfers service
Diffstat (limited to 'src/models/transfer/transfer.model.ts')
-rw-r--r-- | src/models/transfer/transfer.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/models/transfer/transfer.model.ts b/src/models/transfer/transfer.model.ts new file mode 100644 index 0000000..29f5b0d --- /dev/null +++ b/src/models/transfer/transfer.model.ts @@ -0,0 +1,4 @@ +import { Model, model } from 'mongoose'; +import { TransferSchema, transferSchema } from './transfer.schema'; + +export default model<TransferSchema, Model<TransferSchema>>('Transfer', transferSchema); |