summaryrefslogtreecommitdiff
path: root/Dewdrop/Models/ModGenericModel.cs
diff options
context:
space:
mode:
authorJames Stine <leon.blade@gmail.com>2017-08-13 17:44:00 -0400
committerJames Stine <leon.blade@gmail.com>2017-08-13 17:44:00 -0400
commit06ed54b2c6c2e1f49d6975a34ea36f685d7f7c49 (patch)
treefea1bb6a927ca84009657430134cea8a2028cc09 /Dewdrop/Models/ModGenericModel.cs
downloadSMAPI-06ed54b2c6c2e1f49d6975a34ea36f685d7f7c49.tar.gz
SMAPI-06ed54b2c6c2e1f49d6975a34ea36f685d7f7c49.tar.bz2
SMAPI-06ed54b2c6c2e1f49d6975a34ea36f685d7f7c49.zip
First commit.
Diffstat (limited to 'Dewdrop/Models/ModGenericModel.cs')
-rw-r--r--Dewdrop/Models/ModGenericModel.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/Dewdrop/Models/ModGenericModel.cs b/Dewdrop/Models/ModGenericModel.cs
new file mode 100644
index 00000000..829c396a
--- /dev/null
+++ b/Dewdrop/Models/ModGenericModel.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Dewdrop.Models
+{
+ public class ModGenericModel
+ {
+ /// <summary>
+ /// An identifier for the mod.
+ /// </summary>
+ public int Id { get; set; }
+
+ /// <summary>
+ /// The mod's name.
+ /// </summary>
+ public string Name { get; set; }
+
+ /// <summary>
+ /// The vendor identifier for the mod.
+ /// </summary>
+ public string Vendor { get; set; }
+
+ /// <summary>
+ /// The mod's version number.
+ /// </summary>
+ public string Version { get; set; }
+
+ /// <summary>
+ /// The mod's URL
+ /// </summary>
+ public string Url { get; set; }
+
+ /// <summary>
+ /// Is the mod a valid mod.
+ /// </summary>
+ public bool Valid { get; set; } = true;
+ }
+}