model.proto 549 B

123456789101112131415161718
  1. syntax = "proto3";
  2. package account.service.card;
  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 UserEquip {
  11. int64 Mid = 1 [(gogoproto.jsontag) = "mid"];
  12. int64 CardID = 2 [(gogoproto.jsontag) = "card_id"];
  13. int64 ExpireTime = 3 [(gogoproto.jsontag) = "expire_time"];
  14. }