21 lines
468 B
Protocol Buffer
21 lines
468 B
Protocol Buffer
syntax = "proto3";
|
|
package multieko2.table_structure;
|
|
|
|
import "common.proto";
|
|
|
|
message TableStructureResponse {
|
|
repeated TableColumn columns = 1;
|
|
}
|
|
|
|
message TableColumn {
|
|
string name = 1;
|
|
string data_type = 2;
|
|
bool is_nullable = 3;
|
|
bool is_primary_key = 4;
|
|
}
|
|
|
|
service TableStructureService {
|
|
rpc GetAdresarTableStructure (common.Empty) returns (TableStructureResponse);
|
|
rpc GetUctovnictvoTableStructure (common.Empty) returns (TableStructureResponse);
|
|
}
|