std_price_info_items.js 646 B

123456789101112131415161718192021
  1. // 信息价数据
  2. const mongoose = require('mongoose');
  3. const Schema = mongoose.Schema;
  4. const priceInfoItems = new Schema({
  5. ID: String,
  6. libID: String,
  7. classID: String, // 分类
  8. code: String,
  9. name: String,
  10. specs: String,
  11. unit: String,
  12. taxPrice: String, // 含税价格
  13. noTaxPrice: String, // 不含税价格
  14. // 以下冗余数据为方便前台信息价功能处理
  15. period: String, // 期数 eg: 2020-05
  16. areaID: String, // 地区
  17. compilationID: String, // 费用定额
  18. remark: String
  19. }, {versionKey: false});
  20. mongoose.model('std_price_info_items', priceInfoItems, 'std_price_info_items');