12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- // 信息价源数据(造价通接口源数据)
- const mongoose = require('mongoose');
- const Schema = mongoose.Schema;
- const priceInfoSourceItems = new Schema({
- period: { // 期数 eg: 2020-05
- type: String,
- default: ''
- },
- area: { // eg: 广东-广州市-广州市。 不拆分成province、city等多个字段,是为了后续兼容性,不同省份的地区划分可能不同
- type: String,
- default: ''
- },
- industry: {
- type: Number,
- default: 1
- },
- subcid: { // 分类编号
- type: String,
- default: ''
- },
- code: {
- type: String,
- default: ''
- },
- name: {
- type: String,
- default: ''
- },
- specs: {
- type: String,
- default: ''
- },
- unit: {
- type: String,
- default: ''
- },
- price: {
- type: String,
- default: ''
- },
- taxPrice: {
- type: String,
- default: ''
- },
- noTaxPrice: {
- type: String,
- default: ''
- },
- remark: {
- type: String,
- default: ''
- }
- }, { versionKey: false });
- mongoose.model('std_price_info_source', priceInfoSourceItems, 'std_price_info_source');
|