|
@@ -72,9 +72,15 @@ public class CreateTaskDTO {
|
|
|
// TASK-SYS-248: 最短持续秒数(专注/游戏类,未达标不计完成)
|
|
// TASK-SYS-248: 最短持续秒数(专注/游戏类,未达标不计完成)
|
|
|
private Integer minDurationSeconds;
|
|
private Integer minDurationSeconds;
|
|
|
|
|
|
|
|
- // 来源类型: self/assigned/plan/health_plan/training_plan/onboarding/ai/template/article/activity/purchase
|
|
|
|
|
|
|
+// 来源类型: self/assigned/plan/health_plan/training_plan/onboarding/ai/template/article/activity/purchase
|
|
|
private String sourceType;
|
|
private String sourceType;
|
|
|
|
|
|
|
|
// 来源ID(如 training_plans.id / task_plan_instances.id)
|
|
// 来源ID(如 training_plans.id / task_plan_instances.id)
|
|
|
private Long sourceId;
|
|
private Long sourceId;
|
|
|
|
|
+
|
|
|
|
|
+ // 统一任务系统: 1=每日进度型任务(无deadline,每日重置)
|
|
|
|
|
+ private Integer isDailyProgress;
|
|
|
|
|
+
|
|
|
|
|
+ // 统一任务系统: 进度目标值(is_daily_progress=1时有效)
|
|
|
|
|
+ private Integer targetValue;
|
|
|
}
|
|
}
|