62 lines
2.2 KiB
Protocol Buffer
62 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;
|
|
optional string group_key = 12;
|
|
optional string detail = 13;
|
|
bool is_bonus = 14;
|
|
bool is_promo = 15;
|
|
bool is_jackpot = 16;
|
|
string site_username = 17;
|
|
string key = 18;
|
|
string ref_id = 19;
|
|
string o_ref_id = 20;
|
|
string betting_type = 21;
|
|
string category = 22;
|
|
uint64 created_at = 23;
|
|
uint64 utc_created_at = 24;
|
|
}
|
|
|
|
|
|
message BettingHistoryModel {
|
|
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;
|
|
optional string group_key = 12;
|
|
optional string detail = 13;
|
|
bool is_bonus = 14;
|
|
bool is_promo = 15;
|
|
bool is_jackpot = 16;
|
|
string site_username = 17;
|
|
string key = 18;
|
|
string ref_id = 19;
|
|
string o_ref_id = 20;
|
|
string betting_type = 21;
|
|
string category = 22;
|
|
uint64 created_at = 23;
|
|
uint64 utc_created_at = 24;
|
|
bet.beteran.member.MemberModel member = 25;
|
|
}
|