/**
*
*/
class FieldDTO {
constructor (json) {
/** @private */
this.json = json
}
/**
* @type {number}
*/
get display () {
return this.json.display || this.json.name
}
/**
* @type {string}
*/
get fieldType () {
return this.json.fieldType
}
/**
* @type {boolean}
*/
get global () {
return this.json.global
}
/**
* @type {string}
*/
get name () {
return this.json.name
}
/**
* @type {string}
*/
get valueType () {
return this.json.valueType
}
}
export default FieldDTO