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.
58 lines
789 B
58 lines
789 B
/** |
|
* Flag.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: { |
|
|
|
english: { |
|
type: 'string', |
|
required: true |
|
}, |
|
|
|
thai: { |
|
type: 'string', |
|
required: true |
|
}, |
|
|
|
iso2: { |
|
type: 'string', |
|
required: true |
|
}, |
|
|
|
iso3: { |
|
type: 'string', |
|
required: true |
|
}, |
|
|
|
continent: { |
|
type: 'string', |
|
required: true |
|
}, |
|
|
|
phone_code: { |
|
type: 'string' |
|
}, |
|
|
|
currency: { |
|
type: 'string' |
|
}, |
|
|
|
capital: { |
|
type: 'string' |
|
}, |
|
|
|
languages: { |
|
type: 'array' |
|
}, |
|
|
|
top_level_domain: { |
|
type: 'string' |
|
} |
|
} |
|
}; |
|
|
|
|