model.proto 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. syntax = "proto3";
  2. package main.account.ugcpay.service.model;
  3. option go_package = "model";
  4. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  5. option (gogoproto.goproto_getters_all) = false;
  6. message RankElecPrepUPProto {
  7. int64 CountUPTotalElec = 1;
  8. int64 Count = 2;
  9. int64 UPMID = 3;
  10. int64 Size = 4 [(gogoproto.casttype) = "int"];
  11. repeated RankElecPrepElementProto List = 5;
  12. }
  13. message RankElecPrepAVProto {
  14. RankElecPrepUPProto RankElecPrepUPProto = 1 [(gogoproto.nullable) = false, (gogoproto.embed) = true];
  15. int64 AVID = 2;
  16. }
  17. message RankElecPrepElementProto {
  18. int64 MID = 1;
  19. int64 Rank = 2 [(gogoproto.casttype) = "int"];
  20. uint32 TrendType = 3 [(gogoproto.casttype) = "uint8"];
  21. int64 Amount = 4;
  22. ElecMessageProto Message = 5;
  23. }
  24. message RankElecUPProto {
  25. int64 CountUPTotalElec = 1 ;
  26. int64 Count = 2 ;
  27. int64 UPMID = 3 ;
  28. int64 Size = 4 [(gogoproto.casttype) = "int"];
  29. repeated RankElecElementProto List = 5;
  30. }
  31. message RankElecAVProto {
  32. int64 CountUPTotalElec = 1 ;
  33. int64 Count = 2 ;
  34. int64 AVID = 3 ;
  35. int64 UPMID = 4 ;
  36. int64 Size = 5 [(gogoproto.casttype) = "int"];
  37. repeated RankElecElementProto List = 6;
  38. }
  39. message RankElecElementProto {
  40. RankElecPrepElementProto RankElecPrepElementProto = 1 [(gogoproto.nullable) = false, (gogoproto.embed) = true];
  41. VIPInfoProto VIP = 2;
  42. string Nickname = 3;
  43. string Avatar = 4;
  44. }
  45. message ElecMessageProto {
  46. string Message = 1;
  47. bool Hidden = 2;
  48. }
  49. message VIPInfoProto {
  50. int32 Type = 1;
  51. int32 Status = 2;
  52. int64 DueDate = 3;
  53. }