GetERPMtrldefList.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using JLHHJSvr.Com.Model;
  6. using LJLib.Net.SPI.Com;
  7. namespace JLHHJSvr.Com
  8. {
  9. public sealed class GetERPMtrldefListRequest : ILJRequest<GetERPMtrldefListResponse>
  10. {
  11. public override string GetApiName()
  12. {
  13. return "GetERPMtrldefList";
  14. }
  15. /// <summary>
  16. /// 登录token
  17. /// </summary>
  18. public string token { get; set; }
  19. public int? mtrlid { get; set; }
  20. public int? storageid { get; set; }
  21. /// <summary>
  22. /// 属性
  23. /// </summary>
  24. public int? mtrlprp { get; set; }
  25. /// <summary>
  26. /// 物料类别
  27. /// </summary>
  28. public int? mtrltypeid { get; set; }
  29. public int? mtrlorigin { get; set; }
  30. public int? isuse { get; set; }
  31. public string keyword { get; set; }
  32. public string mtrlname { get; set; }
  33. public string mtrlcode { get; set; }
  34. public string mtrlmode { get; set; }
  35. public string mtrlsectype { get; set; }
  36. public string zxmtrlmode { get; set; }
  37. public string usermtrlmode { get; set; }
  38. public string plancode { get; set; }
  39. public int pageindex { get; set; }
  40. public int pagesize { get; set; }
  41. /// <summary>
  42. /// 产品类别
  43. /// </summary>
  44. public string mtrltype { get; set; }
  45. /// <summary>
  46. /// 1-只返回重要字段
  47. /// </summary>
  48. public int simpleField { get; set; }
  49. }
  50. public sealed class GetERPMtrldefListResponse : LJResponse
  51. {
  52. public List<erp_mtrldef> mtrldefList { get; set; }
  53. public int pageindex { get; set; }
  54. public int pagesize { get; set; }
  55. public int totalcnt { get; set; }
  56. }
  57. }