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;
	float delta = 4;
	float deltaFrozen = 5;
	float total = 6;
	float totalFrozen = 7;
	string eventType = 8;
	string description = 9;
	int64 createdAt = 10;
	bytes paramsJSON = 11;

	User user = 30;
	UserAccount userAccount = 31;
}