68 lines
2.2 KiB
Protocol Buffer
68 lines
2.2 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bet.beteran.api.betting;
|
|
|
|
import "models/member.proto";
|
|
|
|
message BettingHistory {
|
|
string id = 1;
|
|
uint64 vendor_id = 2;
|
|
string vendor_name = 3;
|
|
uint64 game_id = 4;
|
|
string game_name = 5;
|
|
string game_category = 6;
|
|
string game_type = 7;
|
|
string currency = 8;
|
|
double cash = 9;
|
|
double before_cash = 10;
|
|
double after_cash = 11;
|
|
string key = 12;
|
|
string ref_id = 13;
|
|
string o_ref_id = 14;
|
|
optional string group_key = 15;
|
|
bool is_bonus = 16;
|
|
bool is_promo = 17;
|
|
bool is_jackpot = 18;
|
|
string site_username = 19;
|
|
string betting_type = 20;
|
|
string category = 21;
|
|
uint64 created_at = 22;
|
|
uint64 utc_created_at = 23;
|
|
}
|
|
|
|
|
|
message BettingHistoryModel {
|
|
message Member {
|
|
string site_id = 1;
|
|
string member_class_id = 2;
|
|
string member_level_id = 3;
|
|
optional string parent_member_id = 4;
|
|
string nickname = 5;
|
|
optional string mobile_phone_number = 6;
|
|
}
|
|
string id = 1;
|
|
uint64 vendor_id = 2;
|
|
string vendor_name = 3;
|
|
uint64 game_id = 4;
|
|
string game_name = 5;
|
|
string game_category = 6;
|
|
string game_type = 7;
|
|
string currency = 8;
|
|
double cash = 9;
|
|
double before_cash = 10;
|
|
double after_cash = 11;
|
|
string key = 12;
|
|
string ref_id = 13;
|
|
string o_ref_id = 14;
|
|
optional string group_key = 15;
|
|
bool is_bonus = 16;
|
|
bool is_promo = 17;
|
|
bool is_jackpot = 18;
|
|
string site_username = 19;
|
|
string betting_type = 20;
|
|
string category = 21;
|
|
uint64 created_at = 22;
|
|
uint64 utc_created_at = 23;
|
|
Member member = 24;
|
|
}
|