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

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

@Getter
public class ApproveCompanyCommand extends CommandAbstract {
    private final String id;
    private final boolean approved;
    private final String note;

    public ApproveCompanyCommand(String id, boolean approved, String note) {
        this.id = id;
        this.approved = approved;
        this.note = note;
    }

    public static ApproveCompanyCommand create(String id, boolean approved, String note) {
        return new ApproveCompanyCommand(id, approved, note);
    }
}
