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

import com.bcxin.tenant.open.domains.entities.MonthlyBillEntity;
import com.bcxin.tenant.open.infrastructures.commands.CommandAbstract;
import lombok.Data;
import lombok.Getter;

import java.util.Collection;

@Data
public class CreateOrgPurseMonthlyBillTransactionCommand extends CommandAbstract {
    private final Collection<MonthlyBillEntity> billEntities;
    public CreateOrgPurseMonthlyBillTransactionCommand(Collection<MonthlyBillEntity> billEntities) {
        this.billEntities = billEntities;
    }

    public static CreateOrgPurseMonthlyBillTransactionCommand create(Collection<MonthlyBillEntity> billEntities){
        return new CreateOrgPurseMonthlyBillTransactionCommand(billEntities);
    }
}
