first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Schema, model } from 'mongoose'
|
||||
|
||||
const IdLocationSchema = new Schema({
|
||||
code: Number,
|
||||
parent: Number,
|
||||
name: String,
|
||||
lattitude: String,
|
||||
longitude: String,
|
||||
postal: [Number],
|
||||
children: [Number],
|
||||
})
|
||||
|
||||
export const IdLocation = model('indonesia_area', IdLocationSchema)
|
||||
Reference in New Issue
Block a user