package com.bcxin.tenant.open.domains.services.commands;

import com.bcxin.tenant.open.infrastructures.commands.CommandAbstract;
import com.bcxin.tenant.open.infrastructures.enums.PoliceEventStatus;
import lombok.Getter;

@Getter
public class UpdatePoliceIncidentStatusCommand extends CommandAbstract {
    private final Long id;
    private final PoliceEventStatus status;

    public UpdatePoliceIncidentStatusCommand(Long id, PoliceEventStatus status) {
        this.id = id;
        this.status = status;
    }

    public static UpdatePoliceIncidentStatusCommand create(Long id, PoliceEventStatus status) {
        return new UpdatePoliceIncidentStatusCommand(id, status);
    }
}
