落地 synastry/star/ask API 与 H5 页面,补齐 cece-frontend-re complete-design 证据文档,并加入 Android 模拟器截图抓取脚本。 Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
665 B
Go
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"`
|
|
}
|