You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
411 B
28 lines
411 B
/** |
|
* Nationality.js |
|
* |
|
* @description :: TODO: You might write a short summary of how this model works and what it represents here. |
|
* @docs :: http://sailsjs.org/#!documentation/models |
|
*/ |
|
|
|
module.exports = { |
|
|
|
attributes: { |
|
|
|
thai: { |
|
type: 'string', |
|
required: true |
|
}, |
|
|
|
code: { |
|
type: 'string', |
|
required: true |
|
}, |
|
|
|
english: { |
|
type: 'string' |
|
}, |
|
|
|
} |
|
}; |
|
|
|
|