• This project
    • Loading...
  • Sign in

Crypto / Crypto-auto-trading

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Crypto_trade_bot
  • models
  • User.js
  • 2019102152 김다빈's avatar
    Modify README and Add LICENSE & Add images · 2254d6ba
    2254d6ba
    2019102152 김다빈 authored 2021-12-06 15:38:33 +0000
User.js 392 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
const mongoose=require('mongoose');
const userSchema=mongoose.Schema({
    uid:{
        type:Number
    },
    krw_balance:{
        type:Number,
    },
    market:{
        type:String,
    },
    count:{
        type:Number
    },
    avg_buy_price:{
        type:Number
    },
    volume:{
        type:Number
    }
})
const User=mongoose.model("User",userSchema);
module.exports={User};