package com.kym.entity.other;

import com.kym.entity.Account;
import com.kym.entity.WashOrder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 优惠计算介质
 *
 * @author skyline
 */
@Data
public class DiscountCompute {
    public WashOrder washOrder;
    public Account account;
    public LocalDateTime endTime;
    public int discountAmount;

    public DiscountCompute(WashOrder washOrder, Account account, LocalDateTime endTime) {
        this.washOrder = washOrder;
        this.account = account;
        this.endTime = endTime;
    }
}
