Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| Aiprompt | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | declare(strict_types=1); |
| 3 | |
| 4 | namespace App\Model\Entity; |
| 5 | |
| 6 | use Cake\ORM\Entity; |
| 7 | |
| 8 | /** |
| 9 | * Aiprompt Entity |
| 10 | * |
| 11 | * @property string $id |
| 12 | * @property string $task_type |
| 13 | * @property string $system_prompt |
| 14 | * @property string $model |
| 15 | * @property string|null $openrouter_model |
| 16 | * @property int $max_tokens |
| 17 | * @property float $temperature |
| 18 | * @property \Cake\I18n\DateTime $created |
| 19 | * @property \Cake\I18n\DateTime $modified |
| 20 | */ |
| 21 | class Aiprompt extends Entity |
| 22 | { |
| 23 | /** |
| 24 | * Fields that can be mass assigned using newEntity() or patchEntity(). |
| 25 | * |
| 26 | * Note that when '*' is set to true, this allows all unspecified fields to |
| 27 | * be mass assigned. For security purposes, it is advised to set '*' to false |
| 28 | * (or remove it), and explicitly make individual fields accessible as needed. |
| 29 | * |
| 30 | * @var array<string, bool> |
| 31 | */ |
| 32 | protected array $_accessible = [ |
| 33 | 'task_type' => true, |
| 34 | 'system_prompt' => true, |
| 35 | 'model' => true, |
| 36 | 'openrouter_model' => true, |
| 37 | 'max_tokens' => true, |
| 38 | 'temperature' => true, |
| 39 | 'created' => true, |
| 40 | 'modified' => true, |
| 41 | ]; |
| 42 | } |