stdRation_lib.js 493 B

1234567891011121314151617
  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. "libCode": String, //定额库编号
  11. "appType" : String, //如:"建筑" / "公路"
  12. "localeType": String, //如 各个省份 / 部颁
  13. "descr" : String,
  14. "deleted": Boolean
  15. });
  16. mongoose.model('std_ration_lib_map', RepositoryMapSchema, 'std_ration_lib_map');