Module

jobOfferDomain

Members

Object

# inner constant jobOfferDomain

View Source api/models/jobOfferDomain.js, line 26

Example
{
 job_offer_id: {
   type: DataTypes.INTEGER,
   references: { model: string, key: string }
 }
 job_domain_id: {
   type: DataTypes.INTEGER,
   references: { model: string, key: string }
 }
}

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/jobOfferDomain.js, line 49