package com.kym.entity.miniapp.other;

import com.kym.entity.miniapp.Account;
import com.kym.entity.miniapp.ChargeOrder;
import lombok.Data;

import java.time.LocalDateTime;

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

    public DiscountCompute(ChargeOrder chargeOrder, Account account, LocalDateTime endTime) {
        this.chargeOrder = chargeOrder;
        this.account = account;
        this.endTime = endTime;
    }
}
