/**
 * Created by chen on 2017/6/29.
 */
var mongoose = require('mongoose'),
    Schema = mongoose.Schema;

var ration_glj = new Schema({
    ID:{ type:String,unique:true},
    GLJID:Number,
    projectID: Number,
    rationID:Number,
    projectGLJID:Number,
    name:String,
    code:String,
    specs:String,
    unit:String,
    basePrice:Number,
    gljDistType:String,
    type:Number,
    quantity:Number,
    customQuantity:Number,
    rationItemQuantity:Number,
    marketPrice:Number,
    adjustPrice:Number,
    marketPriceAdjust:Number,
    isEstimate:Number
},{versionKey:false});

mongoose.model('ration_glj', ration_glj);
