diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 07:06:18 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 07:06:18 +0300 |
commit | ac9698ea0de17ab2d1fbfafead0f33295a402e28 (patch) | |
tree | 839767b2c34b5be47223274bf47ee1aa42c83cd8 /src/models/contractor/contractor.model.ts | |
parent | 1b86dcef9fd537db800e0df2c2f3889ffbc69723 (diff) | |
download | commercel-api-ac9698ea0de17ab2d1fbfafead0f33295a402e28.tar.gz |
feat: add Contractors service
Diffstat (limited to 'src/models/contractor/contractor.model.ts')
-rw-r--r-- | src/models/contractor/contractor.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/models/contractor/contractor.model.ts b/src/models/contractor/contractor.model.ts new file mode 100644 index 0000000..32c14f4 --- /dev/null +++ b/src/models/contractor/contractor.model.ts @@ -0,0 +1,4 @@ +import { Model, model } from 'mongoose'; +import { ContractorSchema, contractorSchema } from './contractor.schema'; + +export default model<ContractorSchema, Model<ContractorSchema>>('Contractor', contractorSchema); |