All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.castled.events.warehousevents.WarehouseEvent Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package io.castled.events.warehousevents;

import io.castled.events.CastledEvent;
import io.castled.events.CastledEventType;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public class WarehouseEvent extends CastledEvent {

    private Long warehouseId;

    public WarehouseEvent(Long warehouseId, CastledEventType castledEventType) {
        super(castledEventType);
        this.warehouseId = warehouseId;
    }

    @Override
    public String entityId() {
        return String.valueOf(warehouseId);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy