package com.yuchen.saas.park.service.event.property;

import com.yuchen.saas.park.api.enums.property.CreateBillTypeEnum;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class CreateBillSuccessEvent extends ApplicationEvent {
    private final long billId;
    private final CreateBillTypeEnum createBillTypeEnum;

    public CreateBillSuccessEvent(long billId,CreateBillTypeEnum createBillTypeEnum) {
        super(new Object());
        this.billId = billId;
        this.createBillTypeEnum = createBillTypeEnum;
    }

}
