You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
423 B
20 lines
423 B
const { Model } = require('flitter-orm')
|
|
|
|
class WeeklyTeamStat extends Model {
|
|
static get services() {
|
|
return [...super.services, 'models']
|
|
}
|
|
|
|
static get schema() {
|
|
return {
|
|
team_id: String,
|
|
lineup_id: String,
|
|
week_num: Number,
|
|
player_ids: [String],
|
|
fantasy_points: Number,
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = exports = WeeklyTeamStat
|