Res_ItemVendorDto.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Dtos.Resource
  7. {
  8. #region 供应商查询参数实体
  9. public class Search_ResItemVendorDto : DtoBase
  10. {
  11. /// <summary>
  12. /// 查询类型(int)
  13. /// <list type="table">
  14. /// <item>1:对象</item>
  15. /// <item>2:列表</item>
  16. /// </list>
  17. /// </summary>
  18. public int SearchType { get; set; }
  19. #region 对象 只需要Id
  20. /// <summary>
  21. /// 供应商Id
  22. /// </summary>
  23. public int VendorId { get; set; }
  24. #endregion
  25. /// <summary>
  26. /// 供应商名称
  27. /// </summary>
  28. public string VendorName { get; set; }
  29. /// <summary>
  30. /// 供应商地址
  31. /// </summary>
  32. public string VendorAddress { get; set; }
  33. /// <summary>
  34. /// 供应商联系人
  35. /// </summary>
  36. public string VendorLinker { get; set; }
  37. /// <summary>
  38. /// 供应商联系方式
  39. /// </summary>
  40. public string VendorMobile { get; set; }
  41. /// <summary>
  42. /// 供应商经营范围,单数值
  43. /// </summary>
  44. public string BusRange { get; set; }
  45. }
  46. #endregion
  47. #region 供应商编辑参数实体
  48. public class Edit_ResItemVendorDto
  49. {
  50. public int VendorId { get; set; }
  51. public string VendorFullName { get; set; }
  52. public string VendorShortName { get; set; }
  53. public string VendorAddress { get; set; }
  54. public string VendorLinker { get; set; }
  55. public string VendorMobile { get; set; }
  56. public string VendorJob { get; set; }
  57. public string Remark { get; set; }
  58. public int SysUserId { get; set; }
  59. public string BusRange { get; set; }
  60. /// <summary>
  61. /// 0:添加,1:修改,-1:删除
  62. /// </summary>
  63. public int EditType { get; set; }
  64. }
  65. #endregion
  66. #region 物料信息查询参数实体
  67. public class Search_ItemInfoDto : DtoBase
  68. {
  69. /// <summary>
  70. /// 查询类型(int)
  71. /// <list type="table">
  72. /// <item>1:对象</item>
  73. /// <item>2:列表</item>
  74. /// </list>
  75. /// </summary>
  76. public int SearchType { get; set; }
  77. #region 对象 只需要Id
  78. /// <summary>
  79. /// 物料Id
  80. /// </summary>
  81. public int ItemId { get; set; }
  82. #endregion
  83. /// <summary>
  84. /// 供应商Id
  85. /// </summary>
  86. public int VendorId { get; set; }
  87. /// <summary>
  88. /// 物料名称
  89. /// </summary>
  90. public string ItemName { get; set; }
  91. /// <summary>
  92. /// 类型Id
  93. /// </summary>
  94. public int ItemTypeId { get; set; }
  95. /// <summary>
  96. /// 价格区间(最低)
  97. /// </summary>
  98. public decimal MinRate { get; set; }
  99. /// <summary>
  100. /// 价格区间(最高)
  101. /// </summary>
  102. public decimal MaxRate { get; set; }
  103. }
  104. #endregion
  105. #region 物料信息编辑参数实体
  106. public class Edit_ResItemInfoDto
  107. {
  108. public int ItemId { get; set; }
  109. public int VendorId { get; set; }
  110. public string ItemName { get; set; }
  111. public int ItemTypeId { get; set; }
  112. public decimal CurrRate { get; set; }
  113. public string Remark { get; set; }
  114. public int SysUserId { get; set; }
  115. /// <summary>
  116. /// 0:添加,1:修改,-1:删除
  117. /// </summary>
  118. public int EditType { get; set; }
  119. }
  120. #endregion
  121. }