Files
digital-psychology/apps/api/internal/model/growth.go
T
jackyu66gitandCursor bd22d9dddd feat: P1 合盘/星座/问答与测测完整设计包及模拟器取证工具
落地 synastry/star/ask API 与 H5 页面,补齐 cece-frontend-re complete-design 证据文档,并加入 Android 模拟器截图抓取脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:37:53 +08:00

28 lines
665 B
Go

package model
import (
"time"
"github.com/google/uuid"
)
// GrowthPlan is a small personal growth goal.
type GrowthPlan struct {
ID uuid.UUID `json:"id"`
UserID uuid.UUID `json:"user_id"`
Title string `json:"title"`
Focus string `json:"focus"`
Status string `json:"status"`
CreatedAt time.Time `json:"created_at"`
}
// GrowthCheckin is a daily check-in on a plan.
type GrowthCheckin struct {
ID uuid.UUID `json:"id"`
PlanID uuid.UUID `json:"plan_id"`
UserID uuid.UUID `json:"user_id"`
Day string `json:"day"`
Note *string `json:"note,omitempty"`
CreatedAt time.Time `json:"created_at"`
}