opensupports/server/models/CustomFieldOption.php
Guillermo Giuliana 6a34c24d7d
update script and change 4.6 to 4.7 (#809)
* update script and change 4.6 to 4.7

* fix 4.7.0 script
2020-06-16 21:26:04 -03:00

26 lines
519 B
PHP

<?php
/**
* @api {OBJECT} Customfieldoption Customfieldoption
* @apiVersion 4.7.0
* @apiGroup Data Structures
* @apiParam {Number} id Id of the option.
* @apiParam {String} name Name of the option.
*/
class Customfieldoption extends DataStore {
const TABLE = 'customfieldoption';
public static function getProps() {
return [
'name'
];
}
public function toArray() {
return [
'id' => $this->id,
'name' => $this->name
];
}
}