%PDF- %PDF-
| Direktori : /home/opti/workflow/src/models/ |
| Current File : /home/opti/workflow/src/models/currency.js |
'use strict';
module.exports = (sequelize, DataTypes) => {
const Currency = sequelize.define('Currency', {
uuid: {
type: DataTypes.UUID,
defaultValue: DataTypes.UUIDV4
},
title: DataTypes.STRING,
code: DataTypes.STRING,
symbol: DataTypes.STRING
}, {});
Currency.associate = function(models) {
// associations can be defined here
};
return Currency;
};