ResponseBase.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System.Text.Json.Serialization;
  2. namespace Aip.Api.Service.Models.Response;
  3. public class ResponseBase
  4. {
  5. //[JsonIgnore]
  6. public int errorCode { get; set; } = 0;
  7. //[JsonIgnore]
  8. public string errorMessage { get; set; } = string.Empty;
  9. public string dispFileName { get; set; } = string.Empty;
  10. public string realFileName { get; set; } = string.Empty;
  11. /// <summary>
  12. /// 요청 파일 정보
  13. /// </summary>
  14. [JsonIgnore]
  15. public string FileId { get; set; } = string.Empty;
  16. [JsonIgnore]
  17. public string FileName { get; set; } = string.Empty;
  18. [JsonIgnore]
  19. public string FileLabelGuid { get; set; } = string.Empty;
  20. [JsonIgnore]
  21. public string FileProtectionGuid { get; set; } = string.Empty;
  22. [JsonIgnore]
  23. public string FileOwner { get; set; } = string.Empty;
  24. [JsonIgnore]
  25. public string FileExt { get; set; } = string.Empty;
  26. [JsonIgnore]
  27. public long FileSize { get; set; }
  28. /// <summary>
  29. /// 결과 파일 정보
  30. /// </summary>
  31. ///
  32. [JsonIgnore]
  33. public string NewFileName { get; set; } = string.Empty;
  34. [JsonIgnore]
  35. public string NewFileLabelGuid { get; set; } = string.Empty;
  36. [JsonIgnore]
  37. public string NewFileProtectionGuid { get; set; } = string.Empty;
  38. [JsonIgnore]
  39. public string NewFileOwner { get; set; } = string.Empty;
  40. [JsonIgnore]
  41. public string NewFileExt { get; set; } = string.Empty;
  42. [JsonIgnore]
  43. public long NewFileSize { get; set; }
  44. }