gljs.js 602 B

123456789101112131415161718192021222324
  1. /**
  2. * Created by jimiz on 2017/4/1.
  3. */
  4. var mongoose = require("mongoose");
  5. var db = require("../db/project_db");
  6. var Schema = mongoose.Schema;
  7. var gljSchema = new Schema({
  8. id: Number,
  9. projectID: Number,
  10. orgRQuantity: String, //Decimal
  11. rQuantity: String, //Decimal
  12. customQuantity: String, //Decimal
  13. quantity: String, //Decimal
  14. rationItemQuantity: String, //Decimal
  15. rationPrice: String, //Decimal
  16. adjustPrice: String, //Decimal
  17. price: String, //Decimal
  18. tenderQuantity: String, //Decimal
  19. tenderPrice: String, //Decimal
  20. type: Number
  21. // to do
  22. });