SearchModels
This commit is contained in:
parent
a34cdb66a2
commit
1cf210c059
14
Forum/ForumContracts/SearchModels/CategorySearchModel.cs
Normal file
14
Forum/ForumContracts/SearchModels/CategorySearchModel.cs
Normal file
@ -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; }
|
||||
}
|
||||
}
|
14
Forum/ForumContracts/SearchModels/MessageSearchModel.cs
Normal file
14
Forum/ForumContracts/SearchModels/MessageSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
||||
}
|
14
Forum/ForumContracts/SearchModels/RoleSearchModel.cs
Normal file
14
Forum/ForumContracts/SearchModels/RoleSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
||||
}
|
14
Forum/ForumContracts/SearchModels/TopicSearchModel.cs
Normal file
14
Forum/ForumContracts/SearchModels/TopicSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
||||
}
|
16
Forum/ForumContracts/SearchModels/UserSearchModel.cs
Normal file
16
Forum/ForumContracts/SearchModels/UserSearchModel.cs
Normal file
@ -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; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user