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
}