Files
EdgeCommon/pkg/rpc/protos/models/model_http_cache_task.proto
2023-07-09 10:15:33 +08:00

22 lines
456 B
Protocol Buffer

syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_user.proto";
import "models/model_http_cache_task_key.proto";
message HTTPCacheTask {
int64 id = 1; // 任务ID
int64 userId = 2;
string type = 3;
string keyType = 4;
int64 createdAt = 5;
int64 doneAt = 6;
bool isDone = 7;
bool isOk = 8;
string description = 9;
User user = 30; // 所属用户
repeated HTTPCacheTaskKey httpCacheTaskKeys = 31; // 包含的Key
}