syntax = "proto2";

package WithdrawalResult;

option java_package = "com.miaole.live.protocol.response";
option java_outer_classname = "WithdrawalResult";

import "CommonResult.proto";

// 提现方式列表
message WithdrawalMethodList {
  repeated WithdrawalMethodInfo infos = 1;
  optional CommonResult.CountryInfo userCountry = 2;//用户所在国家,国家下拉列表默认展示国家，下拉列表没有展示第一个
}

// 提现方式信息
message WithdrawalMethodInfo {
  optional int32 expenseType = 1;//提现方式类型
  optional string name = 2;
  optional string nameI18n = 3;
}

message WithdrawalChannelList {
  repeated WithdrawalChannelInfo infos = 1;
}

message WithdrawalChannelInfo {
  optional int32 expenseType = 1;//提现方式类型
  optional string channelType = 2;//提现渠道
  optional string name = 3;
  optional string nameI18n = 4;
}

message ArtificialWithdrawalChannelList {
  repeated ArtificialWithdrawalChannelInfo infos = 1;
  repeated CommonResult.CountryInfo countryList = 2;//国家列表
}

message ArtificialWithdrawalChannelInfo {
  optional int32 expenseType = 1;//提现方式类型
  optional string channelType = 2;//提现渠道 该渠道为具体用户ID
  optional string name = 3;
  optional string userId = 4;
  optional string headUrl = 5;
  optional CommonResult.CountryInfo countryinfo = 6;
  optional int32 workCount = 7;//工人代发次数
}
