RequestDict.cs 840 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using ProtoBuf;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. namespace TEAMModelOS.GRPC.Models.Dtos
  7. {
  8. [ProtoContract]
  9. public class RequestDict
  10. {
  11. /// <summary>
  12. /// 查询dict
  13. /// </summary>
  14. [ProtoMember(1)]
  15. public Dictionary<string, int> dict { get; set; }
  16. [ProtoMember(2)]
  17. public Dictionary<string, Cv> cv { get; set; }
  18. [ProtoMember(3)]
  19. public List<Cv> lsit { get; set; }
  20. }
  21. [ProtoContract]
  22. public class Cv
  23. {
  24. /// <summary>
  25. /// 查询dict
  26. /// </summary>
  27. [ProtoMember(1)]
  28. public string code { get; set; }
  29. /// <summary>
  30. /// 查询dict
  31. /// </summary>
  32. [ProtoMember(2)]
  33. public string val { get; set; }
  34. }
  35. }