This repository has been archived on 2023-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
discord-bot-shtik/Conversion/ConversionConfig.cs

22 lines
604 B
C#

using System;
using System.Collections.Generic;
namespace vassago.Conversion
{
public class ConversionConfig
{
public class KnownUnit
{
public string Canonical { get; set; }
public IEnumerable<string> Aliases { get; set; }
}
public class LinearPair
{
public string item1 { get; set; }
public string item2 { get; set; }
public decimal factor { get; set; }
}
public IEnumerable<KnownUnit> Units { get; set; }
public IEnumerable<LinearPair> LinearPairs { get; set; }
}
}