DocumentDto.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System;
  2. using System.Collections.Generic;
  3. using BO.AppServer.Metadata.Enums;
  4. using Quadarax.Foundation.Core.Data.Interface.Entity;
  5. namespace BO.AppServer.Metadata.Dto
  6. {
  7. #region *** Document - Create ***
  8. public class DocumentBaseDto : BoDto
  9. {
  10. }
  11. #endregion
  12. #region *** Document - Create ***
  13. internal class DocumentCDto : BoDto, ICreateDto
  14. {
  15. }
  16. #endregion
  17. #region *** Document - Update ***
  18. internal class DocumentUDto : DocumentBaseDto, IUpdateDto
  19. {
  20. }
  21. #endregion
  22. #region *** Document - Read ***
  23. public class DocumentRDto : DocumentBaseDto, IReadDto
  24. {
  25. public string Name { get; }
  26. public DateTime? LastDownloaded { get; }
  27. public BoAuditDto Audit { get; }
  28. public int PresetCreditCost { get; }
  29. public bool PresetWatermark { get; }
  30. public int PresetQuality { get; }
  31. public string PresetProcessProfile { get; }
  32. public bool PresetTest { get; }
  33. public DocumentStatusEnum Status { get; }
  34. public IEnumerable<ArtifactRDto> Artifacts { get; }
  35. public IEnumerable<DocumentStatusHistoryRDto> History { get; }
  36. }
  37. #endregion
  38. #region *** Document - Delete ***
  39. internal class DocumentDDto : BoDto, IDeleteDto
  40. {
  41. }
  42. #endregion
  43. }