Files
EdgeCommon/pkg/rpc/protos/models/model_user_ad_instance.proto
2023-02-22 17:36:41 +08:00

29 lines
764 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_ad_package_instance.proto";
import "models/model_user.proto";
// 高防实例
message UserADInstance {
int64 id = 1;
int64 userId = 2;
int64 adPackageInstanceId = 3;
int64 adPackagePeriodId = 4;
int32 adPackagePeriodCount = 5;
string adPackagePeriodUnit = 6;
string dayFrom = 7; // 开始日期格式YYYYMMDD
string dayTo = 8; // 结束日期格式YYYYMMDD
int64 createdAt = 9;
int32 maxObjects = 10;
repeated string objectCodes = 11;
ADPackageInstance adPackageInstance = 30;
User user = 31;
bool canDelete = 32;
bool isAvailable = 33; // 当前是否在生效中
int32 countObjects = 34; // 防护对象数量
bytes objectsJSON = 35; // 对象JSON
}