Compare commits
1 commit
main
...
fix/verify
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c1cd9ed4f |
1 changed files with 16 additions and 0 deletions
|
|
@ -8,6 +8,22 @@ use Core\Tenant\Models\User;
|
|||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
/**
|
||||
* Prompt version snapshot for history and rollback.
|
||||
*
|
||||
* Captures the state of a prompt at a point in time, enabling
|
||||
* version history and rollback via the restore() method.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $prompt_id
|
||||
* @property int $version
|
||||
* @property string|null $system_prompt
|
||||
* @property string|null $user_template
|
||||
* @property array|null $variables
|
||||
* @property int|null $created_by
|
||||
* @property \Carbon\Carbon|null $created_at
|
||||
* @property \Carbon\Carbon|null $updated_at
|
||||
*/
|
||||
class PromptVersion extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
|
|
|
|||
Reference in a new issue