syntax = "proto2";

package TrusteeshipResult;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.response";
option java_outer_classname = "TrusteeshipResult";

//托管订单
message TrusteeshipList {
	repeated TrusteeshipVo list = 1;
}

//托管订单
message TrusteeshipVo {
	optional string userId = 1;//用户ID
	optional string recipientId = 2;// 承接人ID
	optional string id = 3;// data ID
	optional string gameId = 4;//游戏Id
	optional int32 status = 5;//状态
	optional string senderName = 6;//发单人名称
	optional string accepterName = 7;//接单人名称
	optional string desc = 8;//托管描述
	optional double price = 9;//费用
	optional int64 startTime = 10;//开始时间
	optional int64 endTime = 11;//结束时间
}

//托管订单
message TrusteeshipDetailVo {
	optional string id = 1;// data ID
	optional string gameId = 2;//游戏ID
	optional string os = 3;//系统
	optional string serverName = 4;//区服名
	optional string roleName = 5;//角色名
	optional string desc = 6;//托管描述
	optional string assetDesc = 7;//资产描述
	optional double price = 8;//费用
	optional int32 status = 9;//状态   定义在ETrusteeshipState
	optional string phoneNumber = 10;//联系电话
	optional int32 logoTime = 11;//托管截图修改时间(0为没上传)
	optional int32 logoSize = 12;//上传的游戏载图数量
	optional string uninoName = 13;//承接所属公会名
	optional int64 startTime = 14;//开始时间
	optional int64 endTime = 15;//结束时间
	optional string userId = 16;//用户ID
	optional string recipientId = 17;// 承接ID
	optional int32 star = 18;//评星
	optional string comment = 19;//评价
}

//我的托管订单
message MyTrusteeshipList {
	repeated MyTrusteeshipVo list = 1;
}

//托管订单
message MyTrusteeshipVo {
	optional string userId = 1;//用户ID
	optional string recipientId = 2;// 承接人ID
	optional string id = 3;// data ID
	optional string gameId = 4;//游戏Id
	optional int32 status = 5;//状态
	optional string senderName = 6;//发单人名称
	optional string accepterName = 7;//接单人名称
	optional string desc = 8;//托管描述
	optional double price = 9;//费用
	optional int64 startTime = 10;//开始时间
	optional int64 endTime = 11;//结束时间
}

message TrusteeshipGameList {
	repeated TrusteeshipGameVo list = 1;// 托管游戏列表
}

message TrusteeshipGameVo {
	optional string gameId = 1;// 游戏ID
	optional bool use = 2;//是否已被使用
}