syntax = "proto3";
option go_package = "./pb";

package pb;

import "models/model_user.proto";
import "models/model_user_account.proto";

message UserAccountLog {
	int64 id = 1;
	int64 userId = 2;
	int64 userAccountId = 3;
	double delta = 4;
	double deltaFrozen = 5;
	double total = 6;
	double totalFrozen = 7;
	string eventType = 8;
	string description = 9;
	int64 createdAt = 10;
	bytes paramsJSON = 11;

	User user = 30;
	UserAccount userAccount = 31;
}