eecs448-project-4/app/models/WeeklyPlayerStat.model.js

19 lines
401 B
JavaScript

const { Model } = require('flitter-orm')
class WeeklyPlayerStat extends Model {
static get services() {
return [...super.services, 'models']
}
static get schema() {
return {
player_id: String,
week_num: Number,
patch_player_id: String,
fantasy_points: Number,
}
}
}
module.exports = exports = WeeklyPlayerStat