BillingPlanDto.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using Quadarax.Foundation.Core.Data.Interface.Entity;
  2. namespace BO.AppServer.Metadata.Dto
  3. {
  4. #region *** BillingPlan - Create ***
  5. public class BillingPlanBaseDto : BoDto
  6. {
  7. public string Name { get; set; }
  8. public string Code { get; set; }
  9. public string Description { get; set; }
  10. public int PstinitialCredits { get; set; }
  11. public int PstcreditsPerItem { get; set; }
  12. public bool Pstwatermark { get; set; }
  13. public int Pstquality { get; set; }
  14. public string PstprocessProfile { get; set; }
  15. public bool Psttest { get; set; }
  16. public decimal Price { get; set; }
  17. public string Currency { get; set; }
  18. public bool IsCustom { get; set; }
  19. public bool IsHidden { get; set; }
  20. public bool IsEnabled { get; set; }
  21. }
  22. #endregion
  23. #region *** BillingPlan - Create ***
  24. public class BillingPlanCDto : IDto, ICreateDto
  25. {
  26. public string Name { get; set; }
  27. public string Code { get; set; }
  28. public string Description { get; set; }
  29. public int PstinitialCredits { get; set; }
  30. public int PstcreditsPerItem { get; set; }
  31. public bool Pstwatermark { get; set; }
  32. public int Pstquality { get; set; }
  33. public string PstprocessProfile { get; set; }
  34. public bool Psttest { get; set; }
  35. public decimal Price { get; set; }
  36. public string Currency { get; set; }
  37. public bool IsCustom { get; set; }
  38. public bool IsHidden { get; set; }
  39. public bool IsEnabled { get; set; }
  40. }
  41. #endregion
  42. #region *** BillingPlan - Update ***
  43. public class BillingPlanUDto : BillingPlanBaseDto, IUpdateDto
  44. {
  45. }
  46. #endregion
  47. #region *** BillingPlan - Read ***
  48. public class BillingPlanRDto : BillingPlanBaseDto, IReadDto
  49. {
  50. public BoAuditDto Audit { get; }
  51. public int PSTInitCredits { get; }
  52. public decimal PSTPrize { get; }
  53. public string PSTCurrency { get; }
  54. }
  55. #endregion
  56. #region *** BillingPlan - Delete ***
  57. internal class BillingPlanDDto : BoDto, IDeleteDto
  58. {
  59. }
  60. #endregion
  61. }