package com.zbkj.common.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DeliveryTimeResponse对象", description="配送时间对象")
public class DeliveryTimeResponse {

    @ApiModelProperty(value = "对外展示时使用")
    private String key;

    @ApiModelProperty(value = "订单提交时使用")
    private String date;

    @ApiModelProperty(value = "订单提交时使用，时间段")
    private List<String> times;

    public DeliveryTimeResponse(String key, String date, List<String> times) {
        this.key = key;
        this.date = date;
        this.times = times;
    }
}
