package cn.ysk.cashier.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;
    }
}
