package com.example.backend.dto;

/**
 * 文件上传结果 DTO
 */
public class CommitFileResult {
  private boolean success;
  private String docUrl;
  private String fileId;

  public CommitFileResult() {
  }

  public CommitFileResult(boolean success, String docUrl) {
    this.success = success;
    this.docUrl = docUrl;
  }

  public String getFileId() {
    return fileId;
  }

  public void setFileId(String fileId) {
    this.fileId = fileId;
  }

  public boolean isSuccess() {
    return success;
  }

  public void setSuccess(boolean success) {
    this.success = success;
  }

  public String getDocUrl() {
    return docUrl;
  }

  public void setDocUrl(String docUrl) {
    this.docUrl = docUrl;
  }
}