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.

33 lines
848 B

module.exports = function (dc) {
const StatsProcessNodes = dc.orm.define('statsProcessNodes', {
processVersionId: {
field: 'process_version_id',
type: dc.ORM.INTEGER,
primaryKey: true,
unique: true,
allowNull: false
},
processId: {
field: 'process_id',
type: dc.ORM.INTEGER,
allowNull: false
},
processName: {
field: 'process_name',
type: dc.ORM.STRING,
allowNull: false
},
processNodesTotal: {
field: 'process_nodes_total',
type: dc.ORM.INTEGER,
allowNull: false
}
}, {
tableName: 'stats_process_nodes'
});
dc.models.StatsProcessNodes = StatsProcessNodes;
return StatsProcessNodes;
};