package com.bcxin.tenant.domain.services.commands;

import com.bcxin.Infrastructures.commands.CommandAbstract;
import lombok.Getter;

@Getter
public class ChangeDepartmentDisplayOrderCommand  extends CommandAbstract {
    private final String organizationId;
    private final String id;
    private final int displayOrder;

    public ChangeDepartmentDisplayOrderCommand(String organizationId, String id, int displayOrder) {
        this.organizationId = organizationId;
        this.id = id;
        this.displayOrder = displayOrder;
    }

    public static ChangeDepartmentDisplayOrderCommand create(String organizationId, String id, int displayOrder) {
        return new ChangeDepartmentDisplayOrderCommand(organizationId, id, displayOrder);
    }
}
