package cn.freemud.entities.vo;

import com.freemud.application.sdk.api.storecenter.request.template.DeliveryTemplateDetailRequest;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 查询省份对应配送费价格响应对象
 * @version V1.0
 * @author: zhiheng.zhang
 * @date:  
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * All rights Reserved, Designed By www.freemud.cn
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目的
 */
@Data
public class QueryDeliveryTemplateResponseVo {

    private Integer code;

    private String msg;

    private DeliveryTemplateInfoVo data;

    @Data
    public static class DeliveryTemplateInfoVo {

        /**
         * 运费
         */
        private Integer freight;
        /**
         * 是否包邮 -> true:是; false:否
         */
        @Deprecated
        private Boolean isDispatchFree;

        /**
         * 微商城配送类型　到付  0:不包邮; 1:包邮; 2:运费到付
         */
        private Integer costType;
    }
}
