syntax = "proto3"; option go_package = "./code"; service codeService { rpc GetCodeList(GetCodeListRequest) returns(GetCodeListResponse) {} } message CodeStandard { string ID = 1; string Name = 2; string Type = 3; int32 Method = 4; string Status = 5; repeated CodeRule List = 6; CodeAuto AutoRule = 7; } message CodeRule { string Name = 1; int32 Length = 2; string Desc = 3; } message CodeAuto { int32 PrefixMethod = 1; string PrefixValue = 2; int32 SuffixMethod = 3; int32 AutoLength = 4; string Desc = 5; } message GetCodeListRequest{ int32 page = 1; int32 pageSize = 2; string CodeStandID = 3; string Name = 4; string Type = 5; } message GetCodeListResponse{ int32 Code = 1; string Msg = 2; repeated CodeStandard List = 3; int64 Total = 4; }