Change Money type from float to int

This commit is contained in:
VegaZ
2018-10-25 17:55:34 +02:00
parent 99761beaab
commit b0bafcfa00
7 changed files with 18 additions and 18 deletions

View File

@@ -19,7 +19,7 @@ namespace reallife_gamemode.Server.Entities
{
public class UserBankAccount
{
private float _balance;
private int _balance;
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
@@ -31,7 +31,7 @@ namespace reallife_gamemode.Server.Entities
public string Bic { get; set; }
[StringLength(32)]
public string Iban { get; set; }
public float Balance {
public int Balance {
get => _balance;
set
{