bug fixed
This commit is contained in:
parent
161e6112cd
commit
a5de0dc389
|
@ -9,6 +9,7 @@ import "models/member_class.proto";
|
|||
message CreateMemberClassRequest {
|
||||
optional string parent_id = 1;
|
||||
string name = 2;
|
||||
bool show = 3;
|
||||
}
|
||||
|
||||
message CreateMemberClassResponse {
|
||||
|
@ -21,7 +22,8 @@ message CreateMemberClassResponse {
|
|||
|
||||
message ListMemberClassesRequest {
|
||||
message Search {
|
||||
optional string name_like = 4;
|
||||
optional string name_like = 1;
|
||||
optional bool show = 2;
|
||||
}
|
||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||
|
@ -52,6 +54,7 @@ message UpdateMemberClassRequest {
|
|||
string id = 1;
|
||||
optional string parent_id = 2;
|
||||
string name = 3;
|
||||
bool show = 4;
|
||||
}
|
||||
|
||||
message UpdateMemberClassResponse {
|
||||
|
|
|
@ -8,7 +8,8 @@ import "models/member_level.proto";
|
|||
|
||||
message CreateMemberLevelRequest {
|
||||
string name = 1;
|
||||
uint32 sort_order = 2;
|
||||
bool show = 2;
|
||||
uint32 sort_order = 3;
|
||||
}
|
||||
|
||||
message CreateMemberLevelResponse {
|
||||
|
@ -22,6 +23,7 @@ message CreateMemberLevelResponse {
|
|||
message ListMemberLevelsRequest {
|
||||
message Search {
|
||||
optional string name_like = 1;
|
||||
optional bool show = 2;
|
||||
}
|
||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||
|
@ -51,7 +53,8 @@ message GetMemberLevelResponse {
|
|||
message UpdateMemberLevelRequest {
|
||||
string id = 1;
|
||||
string name = 2;
|
||||
uint32 sort_order = 3;
|
||||
bool show = 3;
|
||||
uint32 sort_order = 4;
|
||||
}
|
||||
|
||||
message UpdateMemberLevelResponse {
|
||||
|
|
|
@ -6,6 +6,7 @@ message MemberClass {
|
|||
string id = 1;
|
||||
optional string parent_id = 2;
|
||||
string name = 3;
|
||||
uint64 created_at = 4;
|
||||
uint64 updated_at = 5;
|
||||
bool show = 4;
|
||||
uint64 created_at = 5;
|
||||
uint64 updated_at = 6;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,8 @@ package bet.beteran.member_level;
|
|||
message MemberLevel {
|
||||
string id = 1;
|
||||
string name = 2;
|
||||
uint32 sort_order = 3;
|
||||
uint64 created_at = 4;
|
||||
uint64 updated_at = 5;
|
||||
bool show = 3;
|
||||
uint32 sort_order = 4;
|
||||
uint64 created_at = 5;
|
||||
uint64 updated_at = 6;
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ message CreateMemberClassRequest {
|
|||
message Request {
|
||||
optional string parent_id = 1;
|
||||
string name = 2;
|
||||
bool show = 3;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
|
@ -30,6 +31,7 @@ message ListMemberClassesRequest {
|
|||
message Request {
|
||||
message Search {
|
||||
optional string name_like = 1;
|
||||
optional bool show = 2;
|
||||
}
|
||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||
|
@ -72,6 +74,7 @@ message UpdateMemberClassRequest {
|
|||
string id = 1;
|
||||
optional string parent_id = 2;
|
||||
string name = 3;
|
||||
bool show = 4;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
|
|
|
@ -11,7 +11,8 @@ import "models/member_level.proto";
|
|||
message CreateMemberLevelRequest {
|
||||
message Request {
|
||||
string name = 1;
|
||||
uint32 sort_order = 2;
|
||||
bool show = 2;
|
||||
uint32 sort_order = 3;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
|
@ -30,6 +31,7 @@ message ListMemberLevelsRequest {
|
|||
message Request {
|
||||
message Search {
|
||||
optional string name_like = 1;
|
||||
optional bool show = 2;
|
||||
}
|
||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||
|
@ -69,7 +71,8 @@ message UpdateMemberLevelRequest {
|
|||
message Request {
|
||||
string id = 1;
|
||||
string name = 2;
|
||||
uint32 sort_order = 3;
|
||||
bool show = 3;
|
||||
uint32 sort_order = 4;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
|
|
Loading…
Reference in New Issue
Block a user