change of task
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user