Files
waf-platform/EdgeCommon/pkg/rpc/protos/models/model_httpdns_rule.proto
2026-02-27 10:35:22 +08:00

32 lines
589 B
Protocol Buffer

syntax = "proto3";
option go_package = "./pb";
package pb;
message HTTPDNSRuleRecord {
int64 id = 1;
int64 ruleId = 2;
string recordType = 3;
string recordValue = 4;
int32 weight = 5;
int32 sort = 6;
}
message HTTPDNSCustomRule {
int64 id = 1;
int64 appId = 2;
int64 domainId = 3;
string ruleName = 4;
string lineScope = 5;
string lineCarrier = 6;
string lineRegion = 7;
string lineProvince = 8;
string lineContinent = 9;
string lineCountry = 10;
int32 ttl = 11;
bool isOn = 12;
int32 priority = 13;
int64 updatedAt = 14;
repeated HTTPDNSRuleRecord records = 15;
}