vip.proto 1.2 KB

1234567891011121314151617181920212223
  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 VipInfo {
  10. int64 Mid = 1 [(gogoproto.jsontag) = "mid"];
  11. int32 VipType = 2 [(gogoproto.jsontag) = "vip_type"];
  12. int32 VipStatus = 3 [(gogoproto.jsontag) = "vip_status"];
  13. int64 VipStartTime = 4 [(gogoproto.jsontag) = "vip_start_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  14. int64 VipOverdueTime = 5 [(gogoproto.jsontag) = "vip_overdue_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  15. int64 AnnualVipOverdueTime = 6 [(gogoproto.jsontag) = "annual_vip_overdue_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  16. int32 AccessStatus = 7 [(gogoproto.jsontag) = "access_status"];
  17. int64 FrozenDate = 8 [(gogoproto.jsontag) = "frozen_date", (gogoproto.casttype) = "go-common/library/time.Time"];
  18. string VipStatusWarn = 9 [(gogoproto.jsontag) = "vip_status_warn"];
  19. int64 VipRecentTime = 10 [(gogoproto.jsontag) = "vip_recent_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  20. }