aeus/pkg/proto/rest/rest.proto

44 lines
936 B
Protocol Buffer

syntax = "proto3";
package aeus;
import "google/protobuf/descriptor.proto";
option go_package = "git.nobla.cn/golang/aeus/pkg/proto/rest";
extend google.protobuf.FieldOptions {
// ormable will cause orm code to be generated for this field
RestFieldOptions field = 52118;
}
message RestFieldOptions {
string gorm = 1;
string comment = 2;
string scenarios= 3;
string position= 4;
string format = 5;
string props = 6;
string rule= 7;
string live = 8;
string dropdown = 9;
string enum = 10;
string match = 11;
string invisible = 12;
string tooltip = 13;
string uploaduri = 14;
string description = 15;
string readonly = 16;
string endofnow = 17;
}
extend google.protobuf.MessageOptions {
// ormable will cause orm code to be generated for this message/object
RestMessageOptions rest = 52119;
}
message RestMessageOptions {
string table = 1;
}