SearchModels

This commit is contained in:
ArtemEmelyanov 2023-04-28 19:41:32 +04:00
parent a34cdb66a2
commit 1cf210c059
5 changed files with 72 additions and 0 deletions

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}