DocumentDto.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 - Base ***
  8. public class DocumentBaseDto : BoDto
  9. {
  10. public string Name { get; }
  11. public DocumentStatusEnum Status { get; }
  12. }
  13. #endregion
  14. #region *** Document - Create ***
  15. public class DocumentCDto : IDto, ICreateDto
  16. {
  17. public string Name { get; }
  18. }
  19. #endregion
  20. #region *** Document - Update ***
  21. internal class DocumentUDto : DocumentBaseDto, IUpdateDto
  22. {
  23. }
  24. #endregion
  25. #region *** Document - Read ***
  26. public class DocumentRDto : DocumentBaseDto, IReadDto
  27. {
  28. public DateTime? LastDownloaded { get; }
  29. public BoAuditDto Audit { get; }
  30. public int PresetCreditCost { get; }
  31. public bool PresetWatermark { get; }
  32. public int PresetQuality { get; }
  33. public string PresetProcessProfile { get; }
  34. public bool PresetTest { get; }
  35. public IEnumerable<ArtifactRDto> Artifacts { get; }
  36. public IEnumerable<DocumentStatusHistoryRDto> History { get; }
  37. }
  38. #endregion
  39. #region *** Document - Delete ***
  40. internal class DocumentDDto : BoDto, IDeleteDto
  41. {
  42. }
  43. #endregion
  44. }