feat: 调整个人信息页面

This commit is contained in:
ilhamtahir committed 2025-01-04 12:13:53 +08:00
1 parent bde886d9e6
commit 6074180a1a
13 files changed
+174 -97

No files matched your search

+15 -1
View File
@@ -1,4 +1,4 @@
import type { TraceableModel } from '@/model/base'
import type { BaseModel, TraceableModel } from '@/model/base'
export interface Pet extends TraceableModel {
birthday: string
@@ -47,3 +47,17 @@ export enum Gender {
FEMALE,
UNKNOWN,
}
export enum FeedingGoal {
GAIN = 'gain',
LOSE = 'lose',
MAINTAIN = 'maintain',
}
export interface FeedingPlan extends BaseModel {
feedingGoal: FeedingGoal
targetWeight: number
}
export interface CreateFeedingPlanRequest extends Omit<FeedingPlan, keyof BaseModel> {
}