const mongoose = require('mongoose');
const {mongooseConstantValues} = require('../apps/common/systemConstents')

const BagingSchema = mongoose.Schema({
  method:{
    type: String,
    require: true
  },
  awb:{
    type: String,
    require: true
  },
  ref_number:{
    type: String,
    require: true
  },
  city:{
    type:String,
    require: true
  },
  state:{
    type:String,
    require: true
  },
  pincode:{
    type:String,
    require: true
  },
  name:{
    type:String,
    require: true
  },
  address1:{
    type:String,
    require: true
  },
  address2:{
    type:String,
  },
  mobile:{
    type:String,
    require: true
  },
  weight:{
    type:String,
    require: true
  },
	createdAt: {
    type: Date,
    default: Date.now,
  },
  updatedAt: {
    type: Date,
    default: Date.now,
  }
})

module.exports = mongoose.model('Baging', BagingSchema);
