river-of-ebooks/api/models/TargetUrl.js

21 lines
313 B
JavaScript
Raw Normal View History

2018-11-15 03:51:29 +00:00
module.exports = {
attributes: {
id: {
type: 'number',
unique: true,
autoIncrement: true
},
user: {
model: 'User',
required: true
},
url: {
type: 'string'
},
author: 'string',
publisher: 'string',
title: 'string',
isbn: 'string'
2018-11-15 03:51:29 +00:00
}
}