summaryrefslogtreecommitdiff
path: root/Project-Unite/Models/Group.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-07 09:19:55 -0400
committerMichael <[email protected]>2017-05-07 09:19:55 -0400
commit0ae47a126b1fb37ecbc80ecddd34a892fb6fd3b2 (patch)
tree1daa7ef50bdc8fd340566b8731eb5d9805cc2fa4 /Project-Unite/Models/Group.cs
parent0cdba811a67c0fa8f9a68c8efa9280ea0cf22801 (diff)
downloadproject-unite-0ae47a126b1fb37ecbc80ecddd34a892fb6fd3b2.tar.gz
project-unite-0ae47a126b1fb37ecbc80ecddd34a892fb6fd3b2.tar.bz2
project-unite-0ae47a126b1fb37ecbc80ecddd34a892fb6fd3b2.zip
groups (formerly legions) index
Diffstat (limited to 'Project-Unite/Models/Group.cs')
-rw-r--r--Project-Unite/Models/Group.cs28
1 files changed, 28 insertions, 0 deletions
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