| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Server or local ID of the diet template. |
integer |
None. |
| key |
Local UUID key used for temporary mapping. |
string |
None. |
| title |
Title of the diet template. |
string |
None. |
| nutrition_profile_id |
Foreign key to the nutrition profile used in this template. |
integer |
None. |
| user_id |
Associated user ID (nullable). |
integer |
None. |
| org_member_id |
Associated org member ID (nullable). |
integer |
None. |
| org_id |
Organization ID (nullable). |
integer |
None. |
| deleted |
Indicates whether the template is marked as deleted. |
boolean |
None. |
| created_date |
Timestamp of creation in milliseconds since epoch. |
decimal number |
None. |
| updated_date |
Timestamp of last update in milliseconds since epoch. |
decimal number |
None. |
| start_date |
YYYY-MM-DD of plan start date. |
string |
None. |
| end_date |
YYYY-MM-DD of plan end date. |
string |
None. |
| plan_sent_on |
Timestamp when any diet plan was sent |
decimal number |
None. |
| diet_plan_updated_on |
Timestamp when any diet plan was last updated (nullable). |
decimal number |
None. |
| is_user_profile |
Whether the plan is associated with the user's profile. |
boolean |
None. |
| is_current_plan |
Whether the plan is current plan |
boolean |
None. |
| nutrition_profile |
Full NutritionProfile object if present. |
SyncNutritionProfileDto |
None. |
| diet_plan |
List of diet plans under this template. |
Collection of SyncDietPlanDto |
None. |
| diet_temp_type |
Type of the diet template (e.g., day, week or multiday). |
string |
None. |
| scale_user_profile_id |
Scale profile ID linked to user, if any. |
integer |
None. |
| is_master_plan |
Indicates if this template is a master reference plan. |
boolean |
None. |
| is_uploaded |
is uploaded value 0 = not uploaded, 1 = uploaded, 2 = uploading |
integer |
None. |