package cn.freemud.entities.dto.delivery;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wanghanghang
 * @title: QueryDeliveryTemplateResponse
 * @projectName order-group
 * @description: TODO
 * @date 2021/4/20上午11:04
 */
@Data
public class QueryDeliveryTemplateResponse {

    private Integer code;

    private String msg;

    private DeliveryTemplateInfoVo data;

    @Data
    public static class DeliveryTemplateInfoVo {

//        @ApiModelProperty(value = "是否包邮 -> true:是; false:否 （过期，后期通过costType字段）")
//        @Deprecated
//        private Boolean isDispatchFree;

        @ApiModelProperty(value = "配送类型类型 -> 0:不包邮; 1:包邮; 2:运费到付")
        private Integer costType;

        @ApiModelProperty(value = "运费 单位：分")
        private Integer freight;
    }
}
