archive.proto 507 B

12345678910111213141516171819
  1. syntax = "proto3";
  2. package archive.service.up.v1;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. option go_package = "v1";
  5. // AidPubTime 发布时间的稿件aid的信息
  6. message AidPubTime {
  7. // aid 稿件aid
  8. int64 aid = 1 [(gogoproto.jsontag) = "aid"];
  9. // pub_date 发布时间
  10. int64 pub_date = 2 [
  11. (gogoproto.jsontag) = "pubdate",
  12. (gogoproto.casttype) = "go-common/library/time.Time"
  13. ];
  14. // copyright 版权来源
  15. int32 copyright = 3 [(gogoproto.jsontag) = "copyright"];
  16. }