From a5de0dc3894d939cfd8ed0e2b32aea62affa3690 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sun, 14 Aug 2022 15:08:04 +0000 Subject: [PATCH] bug fixed --- proto/c2se/member_class.proto | 5 ++++- proto/c2se/member_level.proto | 7 +++++-- proto/models/member_class.proto | 5 +++-- proto/models/member_level.proto | 7 ++++--- proto/ss/member_class.proto | 3 +++ proto/ss/member_level.proto | 7 +++++-- 6 files changed, 24 insertions(+), 10 deletions(-) diff --git a/proto/c2se/member_class.proto b/proto/c2se/member_class.proto index 420f267..ecdfe40 100644 --- a/proto/c2se/member_class.proto +++ b/proto/c2se/member_class.proto @@ -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 { diff --git a/proto/c2se/member_level.proto b/proto/c2se/member_level.proto index a53e6a4..bd38f8e 100644 --- a/proto/c2se/member_level.proto +++ b/proto/c2se/member_level.proto @@ -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 { diff --git a/proto/models/member_class.proto b/proto/models/member_class.proto index 6a65d9f..ba26f99 100644 --- a/proto/models/member_class.proto +++ b/proto/models/member_class.proto @@ -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; } diff --git a/proto/models/member_level.proto b/proto/models/member_level.proto index d8e758f..9b26d4f 100644 --- a/proto/models/member_level.proto +++ b/proto/models/member_level.proto @@ -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; } diff --git a/proto/ss/member_class.proto b/proto/ss/member_class.proto index 4999240..2af971f 100644 --- a/proto/ss/member_class.proto +++ b/proto/ss/member_class.proto @@ -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; diff --git a/proto/ss/member_level.proto b/proto/ss/member_level.proto index a0c34df..ef94a2e 100644 --- a/proto/ss/member_level.proto +++ b/proto/ss/member_level.proto @@ -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;