GetERPMtrldefList.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 string mtrlengname { get; set; }
  40. public int pageindex { get; set; }
  41. public int pagesize { get; set; }
  42. /// <summary>
  43. /// 产品类别
  44. /// </summary>
  45. public string mtrltype { get; set; }
  46. /// <summary>
  47. /// 1-只返回重要字段
  48. /// </summary>
  49. public int simpleField { get; set; }
  50. }
  51. public sealed class GetERPMtrldefListResponse : LJResponse
  52. {
  53. public List<L1Mtrldef> mtrldefList { get; set; }
  54. public int pageindex { get; set; }
  55. public int pagesize { get; set; }
  56. public int totalcnt { get; set; }
  57. }
  58. }