diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 13:31:45 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 13:31:45 +0300 |
commit | 3a2cdd13b0374aab279b8dd819b03f82013cb026 (patch) | |
tree | ede046b9c7a0612379b6ac8395ca41f47f7bad5b /src/models/waybill/waybill.model.ts | |
parent | ac9698ea0de17ab2d1fbfafead0f33295a402e28 (diff) | |
download | commercel-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.ts | 4 |
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); |