Files
MBTI_wang/api/app/model/GaokaoUserProfile.php
Ghost c4ac0f8a08 feat: 高考志愿与定价分销链路更新(管理端/API/小程序)
- 新增高考志愿核心服务、模型、控制器与迁移脚本

- 同步管理端定价/分销/设置与小程序入口、历史、测试选择和支付逻辑

- 补充相关开发文档

Made-with: Cursor
2026-04-25 16:19:08 +08:00

41 lines
1.0 KiB
PHP

<?php
namespace app\model;
use think\Model;
/**
* 高考用户档案
*/
class GaokaoUserProfile extends Model
{
protected $name = 'gaokao_user_profile';
protected $schema = [
'id' => 'int',
'userId' => 'int',
'tenantId' => 'int',
'entryStatus' => 'int',
'mbtiStatus' => 'int',
'pdpStatus' => 'int',
'discStatus' => 'int',
'formStatus' => 'int',
'analyzeStatus' => 'int',
'lastAnalyzeAt' => 'int',
'latestReportId' => 'int',
'name' => 'string',
'province' => 'string',
'streamSubjects' => 'string',
'estimatedScore' => 'int',
'formJson' => 'string',
'tagsJson' => 'string',
'createdAt' => 'int',
'updatedAt' => 'int',
];
protected $autoWriteTimestamp = 'int';
protected $createTime = 'createdAt';
protected $updateTime = 'updatedAt';
protected $json = ['formJson', 'tagsJson'];
}