bug fixed

This commit is contained in:
병준 박 2022-08-14 15:08:04 +00:00
parent 161e6112cd
commit a5de0dc389
6 changed files with 24 additions and 10 deletions

View File

@ -9,6 +9,7 @@ import "models/member_class.proto";
message CreateMemberClassRequest { message CreateMemberClassRequest {
optional string parent_id = 1; optional string parent_id = 1;
string name = 2; string name = 2;
bool show = 3;
} }
message CreateMemberClassResponse { message CreateMemberClassResponse {
@ -21,7 +22,8 @@ message CreateMemberClassResponse {
message ListMemberClassesRequest { message ListMemberClassesRequest {
message Search { message Search {
optional string name_like = 4; optional string name_like = 1;
optional bool show = 2;
} }
optional bet.protobuf.pagination.Pagination pagination = 1; optional bet.protobuf.pagination.Pagination pagination = 1;
repeated bet.protobuf.pagination.Sort sorts = 2; repeated bet.protobuf.pagination.Sort sorts = 2;
@ -52,6 +54,7 @@ message UpdateMemberClassRequest {
string id = 1; string id = 1;
optional string parent_id = 2; optional string parent_id = 2;
string name = 3; string name = 3;
bool show = 4;
} }
message UpdateMemberClassResponse { message UpdateMemberClassResponse {

View File

@ -8,7 +8,8 @@ import "models/member_level.proto";
message CreateMemberLevelRequest { message CreateMemberLevelRequest {
string name = 1; string name = 1;
uint32 sort_order = 2; bool show = 2;
uint32 sort_order = 3;
} }
message CreateMemberLevelResponse { message CreateMemberLevelResponse {
@ -22,6 +23,7 @@ message CreateMemberLevelResponse {
message ListMemberLevelsRequest { message ListMemberLevelsRequest {
message Search { message Search {
optional string name_like = 1; optional string name_like = 1;
optional bool show = 2;
} }
optional bet.protobuf.pagination.Pagination pagination = 1; optional bet.protobuf.pagination.Pagination pagination = 1;
repeated bet.protobuf.pagination.Sort sorts = 2; repeated bet.protobuf.pagination.Sort sorts = 2;
@ -51,7 +53,8 @@ message GetMemberLevelResponse {
message UpdateMemberLevelRequest { message UpdateMemberLevelRequest {
string id = 1; string id = 1;
string name = 2; string name = 2;
uint32 sort_order = 3; bool show = 3;
uint32 sort_order = 4;
} }
message UpdateMemberLevelResponse { message UpdateMemberLevelResponse {

View File

@ -6,6 +6,7 @@ message MemberClass {
string id = 1; string id = 1;
optional string parent_id = 2; optional string parent_id = 2;
string name = 3; string name = 3;
uint64 created_at = 4; bool show = 4;
uint64 updated_at = 5; uint64 created_at = 5;
uint64 updated_at = 6;
} }

View File

@ -5,7 +5,8 @@ package bet.beteran.member_level;
message MemberLevel { message MemberLevel {
string id = 1; string id = 1;
string name = 2; string name = 2;
uint32 sort_order = 3; bool show = 3;
uint64 created_at = 4; uint32 sort_order = 4;
uint64 updated_at = 5; uint64 created_at = 5;
uint64 updated_at = 6;
} }

View File

@ -12,6 +12,7 @@ message CreateMemberClassRequest {
message Request { message Request {
optional string parent_id = 1; optional string parent_id = 1;
string name = 2; string name = 2;
bool show = 3;
} }
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
Request request = 2; Request request = 2;
@ -30,6 +31,7 @@ message ListMemberClassesRequest {
message Request { message Request {
message Search { message Search {
optional string name_like = 1; optional string name_like = 1;
optional bool show = 2;
} }
optional bet.protobuf.pagination.Pagination pagination = 1; optional bet.protobuf.pagination.Pagination pagination = 1;
repeated bet.protobuf.pagination.Sort sorts = 2; repeated bet.protobuf.pagination.Sort sorts = 2;
@ -72,6 +74,7 @@ message UpdateMemberClassRequest {
string id = 1; string id = 1;
optional string parent_id = 2; optional string parent_id = 2;
string name = 3; string name = 3;
bool show = 4;
} }
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
Request request = 2; Request request = 2;

View File

@ -11,7 +11,8 @@ import "models/member_level.proto";
message CreateMemberLevelRequest { message CreateMemberLevelRequest {
message Request { message Request {
string name = 1; string name = 1;
uint32 sort_order = 2; bool show = 2;
uint32 sort_order = 3;
} }
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
Request request = 2; Request request = 2;
@ -30,6 +31,7 @@ message ListMemberLevelsRequest {
message Request { message Request {
message Search { message Search {
optional string name_like = 1; optional string name_like = 1;
optional bool show = 2;
} }
optional bet.protobuf.pagination.Pagination pagination = 1; optional bet.protobuf.pagination.Pagination pagination = 1;
repeated bet.protobuf.pagination.Sort sorts = 2; repeated bet.protobuf.pagination.Sort sorts = 2;
@ -69,7 +71,8 @@ message UpdateMemberLevelRequest {
message Request { message Request {
string id = 1; string id = 1;
string name = 2; string name = 2;
uint32 sort_order = 3; bool show = 3;
uint32 sort_order = 4;
} }
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
Request request = 2; Request request = 2;