package com.bcxin.api.interfaces.tenants.responses;

import lombok.Data;

import java.io.Serializable;

@Data
public class UserAppealsResponse implements Serializable {
    private final String createdTime;
    private final String status;
    private final String result;
    private final String lastApproverDepartName;
    private final String lastApproverName;
    private final String lastApproverTime;

    public static UserAppealsResponse create(String createdTime, String status, String result, String lastApproverDepartName, String lastApproverName, String lastApproverTime) {
        return new UserAppealsResponse(createdTime, status, result, lastApproverDepartName, lastApproverName, lastApproverTime);
    }
}
