Knocks/BackEnd/Knoks.Core/Entities/Knokser.cs

29 lines
833 B
C#

using Knoks.Core.Entities.Interfaces;
using Newtonsoft.Json;
using System;
namespace Knoks.Core.Entities
{
public class Knokser
{
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public long? UserId { get; set; }
public string Href { get; set; }
public string UserName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public bool HasAvatar { get; set; }
public int UserFollowers { get; set; }
public UserRank Rank { get; set; }
public decimal PricePool
{
get
{
return this.PricePoolData * Constants.knokserCommission;
}
set { }
}
[JsonIgnore]
public decimal PricePoolData { get; set; }
}
}