Update code to properly format the AS Tags

This commit is contained in:
2023-06-14 13:07:02 -07:00
parent 7b6794e7e9
commit 9c80ad14f3
6 changed files with 92 additions and 10 deletions

View File

@@ -35,4 +35,13 @@
public string slug { get; set; }
public string color { get; set; }
}
public class CommunityTag
{
public int ASN { get; set; }
public int CommunityValue { get; set; }
public string FormattedVaule => $"{this.ASN}:{this.CommunityValue}";
public string? Description { get; set; }
public IList<Tag>? Tag { get; set; }
}
}