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

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@NoArgsConstructor
@Data
@ToString
public class ProductCheckVaildDto {
    /**
     * errcode : 100
     * data : [{"productId":"107901007203140097","validateCode":1},{"productId":"107901113455346181","validateCode":1}]
     * errmsg : 验证商品有效性成功
     */

    private Integer errcode;
    private String errmsg;
    private List<DataBean> data;

    @NoArgsConstructor
    @Data
    public static class DataBean {
        /**
         * productId : 107901007203140097
         * validateCode : 1
         */

        private String productId;
        private Integer validateCode;
    }
}
