Module

note

Members

Object

# inner constant note

View Source api/models/note.js, line 25

Example
{
 note_id: {
   type: DataTypes.INTEGER,
   primaryKey: boolean,
   allowNull: boolean,
   autoIncrement: boolean
 },
 note: { type: DataTypes.DECIMAL }
}

Methods

# static define(sequelize, name)

Define the model

Parameters:
Name Type Description
sequelize Sequelize
name string

The file name used for the definition

View Source api/models/note.js, line 42