diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-20 17:01:41 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-20 17:01:41 +0300 |
commit | f0fe802df9fd7e98c0333a80922f6008cab7abab (patch) | |
tree | 9d4ec9e822621c4693e015edf17811c340e8a1be /src/models/contractor/contractor.schema.ts | |
parent | 2434c687bbc8f5b42b380a75e48cf1879a508674 (diff) | |
download | commercel-api-f0fe802df9fd7e98c0333a80922f6008cab7abab.tar.gz |
feat: parse pdf bills into transfers
Diffstat (limited to 'src/models/contractor/contractor.schema.ts')
-rw-r--r-- | src/models/contractor/contractor.schema.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/models/contractor/contractor.schema.ts b/src/models/contractor/contractor.schema.ts index e3f7de6..d5ac115 100644 --- a/src/models/contractor/contractor.schema.ts +++ b/src/models/contractor/contractor.schema.ts @@ -13,6 +13,9 @@ export const contractorSchema = new Schema({ fullName: String, vatId: String, type: String, - debt: Number + debt: { + type: Number, + default: 0 + } }, { timestamps: true }); |