change of task

This commit is contained in:
samsys
2024-07-24 16:13:54 +03:30
parent d922487032
commit 7117e384f5
53 changed files with 8036 additions and 5895 deletions

View File

@@ -7,27 +7,35 @@ using AccountManagement.Domain.TicketMediasAgg;
namespace AccountManagement.Domain.MediaAgg;
public class Media:EntityBase
public class Media : EntityBase
{
public Media( string path, string type, string category)
public Media(string path, string type, string category)
{
Path = path;
Type = type;
Category = category;
}
//مسیر ذخیره فایل
public string Path { get; private set; }
//نوع ذخیره فایل
public string Type { get; private set; }
//دسته بندی ذخیره فایل
public string Category { get; set; }
public string Category { get; private set; }
public List<TaskMedia> TaskMedias { get; set; }
public List<AdminResponseMedia> AdminResponseMedias { get; set; }
public List<ClientResponseMedia> ClientResponseMedias { get; set; }
public List<TicketMedia> TicketMedias { get; set; }
public void Edit(string path, string type, string category)
{
Path = path;
Type = type;
Category = category;
}
}

View File

@@ -11,17 +11,15 @@ public interface ITaskRepository:IRepository<long,Tasks>
void Remove(long id);
//گرفتن تمامی وظایف
List<TaskViewModel> GetTasks(TaskSearchModel searchModel);
List<TaskViewModel> GetAllRequestedTasks(TaskSearchModel searchModel);
List<TaskViewModel> GetRequestedTasks(TaskSearchModel searchModel);
List<TaskViewModel> GetSelfTasks(TaskSearchModel searchModel);
List<TaskViewModel> GetAllNotSelfIncludedTasks(TaskSearchModel searchModel);
List<TaskViewModel> GetReceivedTasks(TaskSearchModel searchModel);
List<TaskViewModel> GetSentTasks(TaskSearchModel searchModel);
List<TaskViewModel> AllRequestedTasks(TaskSearchModel searchModel);
string SetTasksColors(DateTime time,bool isCancel);
int GetRequestedTasksCount();
TaskViewModel GetRequestDetails(long id);
string GetWebEnvironmentPath();
}