feed.proto 1.1 KB

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package model;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. option (gogoproto.goproto_enum_prefix_all) = false;
  5. option (gogoproto.goproto_getters_all) = false;
  6. option (gogoproto.unmarshaler_all) = true;
  7. option (gogoproto.marshaler_all) = true;
  8. option (gogoproto.sizer_all) = true;
  9. message NewEp {
  10. string Cover = 1 [(gogoproto.jsontag) = "cover"];
  11. int64 Dm = 2 [(gogoproto.jsontag) = "dm"];
  12. int64 EpisodeID = 3 [(gogoproto.jsontag) = "episode_id"];
  13. string Index = 4 [(gogoproto.jsontag) = "index"];
  14. string IndexTitle = 5 [(gogoproto.jsontag) = "index_title"];
  15. int64 Play = 6 [(gogoproto.jsontag) = "play"];
  16. }
  17. message Bangumi {
  18. int32 BgmType = 1 [(gogoproto.jsontag) = "bgm_type"];
  19. string Cover = 2 [(gogoproto.jsontag) = "cover"];
  20. int32 IsFinish = 3 [(gogoproto.jsontag) = "is_finish"];
  21. NewEp NewEp = 4 [(gogoproto.jsontag) = "new_ep", (gogoproto.nullable) = false];
  22. int64 SeasonID = 5 [(gogoproto.jsontag) = "season_id"];
  23. string Title = 6 [(gogoproto.jsontag) = "title"];
  24. int64 TotalCount = 7 [(gogoproto.jsontag) = "total_count"];
  25. int64 Ts = 8 [(gogoproto.jsontag) = "ts"];
  26. }