%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/src/models/
Upload File :
Create Path :
Current File : /home/opti/workflow/src/models/roles.js

'use strict';

module.exports = (sequelize, DataTypes) => {
  const Roles = sequelize.define('Role', {
    uuid: {
      type: DataTypes.UUID,
      defaultValue: DataTypes.UUIDV4
    },
    orgId: DataTypes.INTEGER,
    name: DataTypes.STRING,
    description: DataTypes.STRING,
    createdBy: DataTypes.INTEGER
  }, {});
  Roles.associate = function (models) {
    // associations can be defined here
  };
  return Roles;
};

Zerion Mini Shell 1.0