18 lines
330 B
JavaScript
18 lines
330 B
JavaScript
const { Model } = require('flitter-orm')
|
|
|
|
class SessionModel extends Model {
|
|
static get services() {
|
|
return [...super.services, 'models']
|
|
}
|
|
|
|
static get schema() {
|
|
return {
|
|
payload: {
|
|
account: String,
|
|
},
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = exports = SessionModel
|