summaryrefslogtreecommitdiff
path: root/src/models/waybill/waybill.model.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-14 13:31:45 +0300
committereug-vs <eug-vs@keemail.me>2021-03-14 13:31:45 +0300
commit3a2cdd13b0374aab279b8dd819b03f82013cb026 (patch)
treeede046b9c7a0612379b6ac8395ca41f47f7bad5b /src/models/waybill/waybill.model.ts
parentac9698ea0de17ab2d1fbfafead0f33295a402e28 (diff)
downloadcommercel-api-3a2cdd13b0374aab279b8dd819b03f82013cb026.tar.gz
feat: add Waybills service
Diffstat (limited to 'src/models/waybill/waybill.model.ts')
-rw-r--r--src/models/waybill/waybill.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/models/waybill/waybill.model.ts b/src/models/waybill/waybill.model.ts
new file mode 100644
index 0000000..3769eec
--- /dev/null
+++ b/src/models/waybill/waybill.model.ts
@@ -0,0 +1,4 @@
+import { Model, model } from 'mongoose';
+import { WaybillSchema, waybillSchema } from './waybill.schema';
+
+export default model<WaybillSchema, Model<WaybillSchema>>('Waybill', waybillSchema);