|
@@ -1,5 +1,6 @@
|
|
|
package org.dromara.web.domain.bo;
|
|
|
|
|
|
+import cn.idev.excel.annotation.ExcelProperty;
|
|
|
import io.github.linpeilie.annotations.AutoMapper;
|
|
|
import jakarta.validation.constraints.NotBlank;
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
@@ -168,6 +169,11 @@ public class ProductNutritionBo extends BaseEntity {
|
|
|
@NotBlank(message = "商品规格不能为空", groups = {AddGroup.class, EditGroup.class})
|
|
|
private String productSpec;
|
|
|
|
|
|
+ /**
|
|
|
+ * 商品规格单位
|
|
|
+ */
|
|
|
+ private String productSpecUnit;
|
|
|
+
|
|
|
/**
|
|
|
* 预包装销售价
|
|
|
*/
|