package cn.freemud.entities;

import lombok.Data;

/**
 * @author : xh.Z
 * @email : fisherman0510@163.com
 * @Date : 2021/12/8 下午5:08
 * @description :
 */
@Data
public class ExtraDeliveryDto {
    /**
     * 原有配送费类型
     */
    public static int TYPE_DEFAULT = -1;
    /**
     * 晚间时段 附加配送费类型
     */
    public static int TYPE_EXTRA_NIGHT = 1;
    /**
     * 早间时段 附加配送费类型
     */
    public static int TYPE_EXTRA_MORNING = 0;

    /**
     * 费用类型
     */
    private int type;

    /**
     * 费用
     */
    private Long deliveryAmount;

    private ExtraDeliveryDto() {

    }

    public ExtraDeliveryDto(int type, Long deliveryAmount) {
        this.type = type;
        this.deliveryAmount = deliveryAmount;
    }
}
