projectGLJ.js 457 B

123456789101112131415161718192021
  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 projectGLJSchema = new Schema({
  8. ID: Number,
  9. projectID: Number,
  10. code: Number,
  11. name: String,
  12. specs: String,
  13. unit: String,
  14. type: String,
  15. amount: String, // Decimal
  16. rationPrice: String, //Decimal
  17. adjustPrice: String, //Decimal
  18. price: String //Decimal
  19. // to do
  20. });