feat: enhance product entity and mapper to calculate total calories based on nutritional values
This commit is contained in:
1 parent
d856dc1887
commit
2dfc1dafec
3 files changed
+91
-10
No files matched your search
@@ -36,4 +36,9 @@ export class ProductVo extends BaseVo {
|
||||
|
||||
@ApiProperty()
|
||||
moisture: number;
|
||||
|
||||
@ApiProperty({
|
||||
description: '产品总能量(kcal),基于ME算法计算',
|
||||
})
|
||||
totalCalories: number;
|
||||
}
|
||||
Reference in new issue
Block a user