DownloadedFile.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. 
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Data;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace CUP_POD_Mail_Reader
  9. {
  10. public class DownloadedFile
  11. {
  12. // public int Id { get; set; }
  13. public string FileName { get; set; }
  14. //public long FileSizeinLocal { get; set; }
  15. public long totalFileSizeinLocal { get; set; }
  16. // public long FileSizeinServer { get; set; }
  17. //public DateTime DownloadTime { get; set; }
  18. public DateTime? DownloadingStartTime { get; set; }
  19. //public string BatchNo { get; set; }
  20. public bool DownloadStatus { get; set; }
  21. //public List<DownloadedFile> listOfDownloadedFiles { get; set; }
  22. }
  23. public class MessageId
  24. {
  25. public string ProjectCode { get; set; }
  26. public string MailId { get; set; }
  27. public DateTime MailReadDate { get; set; }
  28. public bool Status { get; set; }
  29. public string Subject { get; set; }
  30. public string Environment { get; set; }
  31. public string body { get; set; }
  32. public string localdownloadpath { get; set; }
  33. }
  34. public class CCAddressList
  35. {
  36. public string CCAddress { get; set; }
  37. }
  38. public class UserCredentials
  39. {
  40. public string MailId { get; set; }
  41. public string Password { get; set; }
  42. }
  43. public class ToAddress
  44. {
  45. public string ToMailId { get; set; }
  46. }
  47. public class FTPDirectory
  48. {
  49. public string HostName { get; set; }
  50. public string SubDirectory { get; set; }
  51. public string ProjectCode { get; set; }
  52. }
  53. public class FTPCredentials
  54. {
  55. public string UserName { get; set; }
  56. public string Password { get; set; }
  57. }
  58. }