diff --git a/Forum/ForumContracts/SearchModels/CategorySearchModel.cs b/Forum/ForumContracts/SearchModels/CategorySearchModel.cs new file mode 100644 index 0000000..c5d556e --- /dev/null +++ b/Forum/ForumContracts/SearchModels/CategorySearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ForumContracts.SearchModels +{ + public class CategorySearchModel + { + public int? Id { get; set; } + public string? Name { get; set; } + } +} diff --git a/Forum/ForumContracts/SearchModels/MessageSearchModel.cs b/Forum/ForumContracts/SearchModels/MessageSearchModel.cs new file mode 100644 index 0000000..a6c2941 --- /dev/null +++ b/Forum/ForumContracts/SearchModels/MessageSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ForumContracts.SearchModels +{ + public class MessageSearchModel + { + public int Id { get; set; } + public DateTime Date { get; set; } + } +} diff --git a/Forum/ForumContracts/SearchModels/RoleSearchModel.cs b/Forum/ForumContracts/SearchModels/RoleSearchModel.cs new file mode 100644 index 0000000..f8d1f0f --- /dev/null +++ b/Forum/ForumContracts/SearchModels/RoleSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ForumContracts.SearchModels +{ + public class RoleSearchModel + { + public int Id { get; set; } + public string? Name { get; set; } + } +} diff --git a/Forum/ForumContracts/SearchModels/TopicSearchModel.cs b/Forum/ForumContracts/SearchModels/TopicSearchModel.cs new file mode 100644 index 0000000..56f53a5 --- /dev/null +++ b/Forum/ForumContracts/SearchModels/TopicSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ForumContracts.SearchModels +{ + public class TopicSearchModel + { + public int Id { get; set; } + public string? Name { get; set; } + } +} diff --git a/Forum/ForumContracts/SearchModels/UserSearchModel.cs b/Forum/ForumContracts/SearchModels/UserSearchModel.cs new file mode 100644 index 0000000..de72083 --- /dev/null +++ b/Forum/ForumContracts/SearchModels/UserSearchModel.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ForumContracts.SearchModels +{ + public class UserSearchModel + { + public int Id { get; set; } + public string? Username { get; set; } + public string? Email { get; set; } + + } +}