-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fuqihao.foliet
committed
Dec 15, 2023
1 parent
ed613e5
commit b957daa
Showing
3 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
|
||
package meowchat.core_api; | ||
|
||
option go_package = "meowchat/core_api"; | ||
option java_package = "com.xhpolaris.idlgen.meowchat.coreapi"; | ||
option java_outer_classname = "CommonProto"; | ||
option java_multiple_files = true; | ||
|
||
import "meowchat/system/common.proto"; | ||
|
||
message User { | ||
string id = 1; | ||
string nickname = 2; | ||
string avatarUrl = 3; | ||
optional string motto = 4; | ||
optional int64 follower = 5; | ||
optional int64 following = 6; | ||
optional int64 article = 7; | ||
optional int64 like = 8; | ||
optional bool isFollowing = 9; | ||
repeated system.Role roles = 10; | ||
optional bool enableDebug = 11; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters