fix: 支持套餐商品点餐
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
package com.chaozhanggui.system.cashierservice.entity.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
|
public class ProductGroupVo {
|
||||||
|
|
||||||
|
private Integer count;
|
||||||
|
//选几个
|
||||||
|
private Integer number;
|
||||||
|
//类别
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
//食物
|
||||||
|
private List<Food> goods=new ArrayList<>();
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
|
public static class Food {
|
||||||
|
private Integer proId;
|
||||||
|
private String proName;
|
||||||
|
private Integer skuId;
|
||||||
|
private String skuName;
|
||||||
|
private BigDecimal price;
|
||||||
|
private String number;
|
||||||
|
private String unitName;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user