package com.bcxin.api.interfaces.backends.requests;

import com.bcxin.api.interfaces.RequestAbstract;
import lombok.Getter;

@Getter
public class XlcpResultRequest extends RequestAbstract {
    private final String employeeId;
    private final String organizationId;
    private final String serialNumber;
    private final String name;
    private final String number;
    private final String projectName;
    private final String fileUrl;
    private final String suggestion;
    private final String content;
    private final String result;
    private final String resultRuleTip;
    private final String uploadPath;
    private final String fileApi;
    private final String randomKey;

    public XlcpResultRequest(String serialNumber, String name, String number, String employeeId, String organizationId, String projectName, String fileUrl, String suggestion, String content, String result,String resultRuleTip,String uploadPath,String fileApi,String randomKey) {
        this.serialNumber = serialNumber;
        this.name = name;
        this.number = number;
        this.employeeId = employeeId;
        this.organizationId = organizationId;
        this.projectName = projectName;
        this.fileUrl = fileUrl;
        this.suggestion = suggestion;
        this.content = content;
        this.result = result;
        this.resultRuleTip = resultRuleTip;
        this.uploadPath = uploadPath;
        this.fileApi = fileApi;
        this.randomKey = randomKey;
    }

    public static XlcpResultRequest create(String serialNumber, String name, String number, String employeeId, String organizationId, String projectName, String fileUrl, String suggestion, String content, String result,String resultRuleTip,String uploadPath,String fileApi,String randomKey) {
        return new XlcpResultRequest(serialNumber, name, number, employeeId, organizationId, projectName, fileUrl, suggestion, content, result, resultRuleTip, uploadPath, fileApi,randomKey);
    }
}
