opensupports/server/models/CustomFieldOption.php
Guillermo Giuliana 791e0969e9
add script and change 4.7.0 to 4.8.0 (#848)
* add script and change 4.7.0 to 4.8

* change end of line 4.8.0 script

* Delete main.py
2020-07-22 07:32:18 -03:00

26 lines
519 B
PHP

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