stdBills_lib.js 484 B

1234567891011121314151617181920
  1. /**
  2. * Created by Zhong on 2018/3/22.
  3. */
  4. /*清单库编辑器-库*/
  5. const mongoose = require('mongoose');
  6. const Schema = mongoose.Schema;
  7. const oprSchema = require('../all_schemas/opr_schema');
  8. const stdBills_lib = new Schema({
  9. creator: String,
  10. createDate: String,
  11. recentOpr: [oprSchema],
  12. billsLibId: Number,
  13. billsLibName: String,
  14. deleted: Boolean
  15. },
  16. {versionKey: false}
  17. );
  18. mongoose.model('std_bills_lib_list', stdBills_lib);