24 lines
962 B
C#
24 lines
962 B
C#
using System.Text.Json.Serialization;
|
|
namespace CH.CryptoStats.CoinGecko;
|
|
public class CoinGeckoEntity
|
|
{
|
|
[JsonPropertyName("symbol")]
|
|
public required string Symbol { get; set; }
|
|
[JsonPropertyName("name")]
|
|
public required string Name { get; set; }
|
|
[JsonPropertyName("current_price")]
|
|
public decimal Price { get; set; }
|
|
[JsonPropertyName("market_cap")]
|
|
public decimal MarketCap { get; set; }
|
|
[JsonPropertyName("fully_diluted_valuation")]
|
|
public decimal FullyDilutedValuation { get; set; }
|
|
[JsonPropertyName("circulating_supply")]
|
|
public decimal CirculatingSupply { get; set; }
|
|
[JsonPropertyName("total_supply")]
|
|
public decimal TotalSupply { get; set; }
|
|
[JsonPropertyName("max_supply")]
|
|
public decimal MaxSupply { get; set; }
|
|
|
|
[JsonPropertyName("last_updated")]
|
|
public DateTime LastUpdated { get; set; }
|
|
} |