From 0ae47a126b1fb37ecbc80ecddd34a892fb6fd3b2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 7 May 2017 09:19:55 -0400 Subject: groups (formerly legions) index --- Project-Unite/Models/Group.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Project-Unite/Models/Group.cs (limited to 'Project-Unite/Models/Group.cs') diff --git a/Project-Unite/Models/Group.cs b/Project-Unite/Models/Group.cs new file mode 100644 index 0000000..f59270b --- /dev/null +++ b/Project-Unite/Models/Group.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace Project_Unite.Models +{ + public class Group + { + public string Id { get; set; } + public string Name { get; set; } + public int Publicity { get; set; } + public string BannerColorHex { get; set; } + public string Description { get; set; } + public string ShortName { get; set; } + + public double RawReputation { get; set; } + + public int Reputation + { + get + { + return ((int)Math.Round(RawReputation)); + } + } + + } +} \ No newline at end of file -- cgit v1.2.3