stdRation_lib.js 452 B

12345678910111213141516
  1. /**
  2. * Created by Zhong on 2018/3/22.
  3. */
  4. /*标准定额库*/
  5. const mongoose = require('mongoose');
  6. const Schema = mongoose.Schema;
  7. const RepositoryMapSchema = new Schema({
  8. "ID": Number,
  9. "dispName" : String,
  10. "appType" : String, //如:"建筑" / "公路"
  11. "localeType": String, //如 各个省份 / 部颁
  12. "descr" : String,
  13. "deleted": Boolean
  14. });
  15. mongoose.model('std_ration_lib_map', RepositoryMapSchema, 'std_ration_lib_map');