feat: 小程序与管理端迭代(神仙AI、了解自己CRM、AI测试入口、报表与分润等)
Made-with: Cursor
This commit is contained in:
29
api/app/model/AiConversation.php
Normal file
29
api/app/model/AiConversation.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
namespace app\model;
|
||||
|
||||
use think\Model;
|
||||
use think\model\concern\SoftDelete;
|
||||
|
||||
/**
|
||||
* 神仙 AI 对话
|
||||
*/
|
||||
class AiConversation extends Model
|
||||
{
|
||||
use SoftDelete;
|
||||
|
||||
protected $strict = false;
|
||||
|
||||
protected $name = 'ai_conversations';
|
||||
protected $deleteTime = 'deletedAt';
|
||||
|
||||
protected $autoWriteTimestamp = 'int';
|
||||
protected $createTime = 'createdAt';
|
||||
protected $updateTime = 'updatedAt';
|
||||
|
||||
protected $type = [
|
||||
'createdAt' => 'integer',
|
||||
'updatedAt' => 'integer',
|
||||
'deletedAt' => 'integer',
|
||||
'lastMessageAt' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user