opensupports/server/models/CustomFieldOption.php
Guillermo Giuliana e15bd15f07
Updates to 4.10.0 (#1061)
* change 4.9 to 4.10

* new translations
2021-10-18 22:06:20 -03:00

26 lines
520 B
PHP

<?php
/**
* @api {OBJECT} Customfieldoption Customfieldoption
* @apiVersion 4.10.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
];
}
}