package com.bcxin.tenant.open.domains.dtos;

import com.bcxin.tenant.open.infrastructures.enums.ProcessedStatus;
import lombok.Getter;

import java.io.Serializable;
import java.util.Collection;

@Getter
public class ProcessTencentCallbackLogDTO  implements Serializable {
    private final Collection<Long> roomIds;
    private final ProcessedStatus status;
    private final String result;

    public ProcessTencentCallbackLogDTO(Collection<Long> roomIds, ProcessedStatus status, String result) {
        this.roomIds = roomIds;
        this.status = status;
        this.result = result;
    }

    public static ProcessTencentCallbackLogDTO create(Collection<Long> roomIds, ProcessedStatus status, String result) {
        return new ProcessTencentCallbackLogDTO(roomIds, status, result);
    }
}
