nginx-proxy-manager/src/frontend/js/models/dead-host.js
Jamie Curnow 291cb9625e More i18n
2018-07-19 09:47:55 +10:00

28 lines
551 B
JavaScript

'use strict';
const Backbone = require('backbone');
const model = Backbone.Model.extend({
idAttribute: 'id',
defaults: function () {
return {
id: 0,
created_on: null,
modified_on: null,
owner: null,
domain_name: '',
ssl_enabled: false,
ssl_provider: false,
meta: []
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};