12345678910111213141516171819202122 |
- syntax = "proto3";
- package user;
- option go_package = "ttmylife.com/zeuszhao/types/common/user;user";
- option java_multiple_files = true;
- option java_package = "user";
- enum UserStatus {
- USER_STATUS_UNDEFINED = 0;
- USER_STATUS_ENABLED = 1;
- USER_STATUS_DISABLED = 2;
- }
- message UserBody {
- uint32 id = 1;
- UserBaseBody body = 2;
- }
- message UserBaseBody {
- UserStatus status = 1;
- }
|