/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: ProductInfosDto
 * @Package cn.freemud.entities.dto
 * @Description:
 * @author: liming.guo
 * @date: 2018/5/28 21:11
 * @version V1.0
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
package cn.freemud.entities.dto;

import cn.freemud.entities.dto.product.ProductInfo;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class ProductInfosDto {

    private DataBean data;
    private Integer errcode;
    private Integer code;
    private String errmsg;

    @NoArgsConstructor
    @Data
    public static class DataBean {

        private Integer count;
        private List<ProductInfo> products;

        //传给pos的商品编号类型（0传三方编号给pos，1传货号给pos，默认传三方编号
        private Integer toPosProductIdType;
    }
}