model.proto 1.6 KB

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package account.service.vipinfo;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. option go_package = "model";
  5. option (gogoproto.goproto_enum_prefix_all) = false;
  6. option (gogoproto.goproto_getters_all) = false;
  7. option (gogoproto.unmarshaler_all) = true;
  8. option (gogoproto.marshaler_all) = true;
  9. option (gogoproto.sizer_all) = true;
  10. message VipUserInfo {
  11. int64 ID = 1 [(gogoproto.jsontag) = "id"];
  12. int64 Mid = 2 [(gogoproto.jsontag) = "mid"];
  13. int32 VipType = 3 [(gogoproto.jsontag) = "vip_type"];
  14. int32 VipPayType = 4 [(gogoproto.jsontag) = "vip_pay_type"];
  15. int32 PayChannelID = 5 [(gogoproto.jsontag) = "pay_channel_id"];
  16. int32 VipStatus = 6 [(gogoproto.jsontag) = "vip_status"];
  17. int64 VipStartTime = 7 [(gogoproto.jsontag) = "vip_start_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  18. int64 VipRecentTime = 8 [(gogoproto.jsontag) = "vip_recent_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  19. int64 VipOverdueTime = 9 [(gogoproto.jsontag) = "vip_overdue_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  20. int64 AnnualVipOverdueTime = 10 [(gogoproto.jsontag) = "annual_vip_overdue_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  21. int64 Ctime = 11 [(gogoproto.jsontag) = "ctime", (gogoproto.casttype) = "go-common/library/time.Time"];
  22. int64 Mtime = 12 [(gogoproto.jsontag) = "mtime", (gogoproto.casttype) = "go-common/library/time.Time"];
  23. int64 IosOverdueTime = 13 [(gogoproto.jsontag) = "ios_overdue_time", (gogoproto.casttype) = "go-common/library/time.Time"];
  24. int64 Ver = 14 [(gogoproto.jsontag) = "ver"];
  25. }