Excel - customizeChekoutPrint bug fixed
This commit is contained in:
@@ -10,8 +10,17 @@ public interface IMediaRepository:IRepository<long,Media>
|
||||
void CreateMediaWithTaskMedia(long taskId, long mediaId);
|
||||
List<MediaViewModel> GetMediaByTaskId(long taskId);
|
||||
void Remove(long id);
|
||||
|
||||
void RemoveRange(IEnumerable<Media> medias);
|
||||
void CreateTicketMedia(long ticketId, long mediaId);
|
||||
void CreateAdminResponseMedia(long adminResponseId, long mediaId);
|
||||
void CreateClientResponseMedia(long clientResponseId, long mediaId);
|
||||
|
||||
#region Pooya
|
||||
|
||||
|
||||
List<MediaViewModel> GetMedias(List<long> ids);
|
||||
List<Media> GetRange(IEnumerable<long> mediaIds);
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
@@ -1,20 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using _0_Framework.Domain;
|
||||
using _0_Framework.Domain;
|
||||
using AccountManagement.Domain.AdminResponseMediaAgg;
|
||||
using AccountManagement.Domain.ClientResponseMediaAgg;
|
||||
using AccountManagement.Domain.TaskMediaAgg;
|
||||
using AccountManagement.Domain.TicketMediasAgg;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace AccountManagement.Domain.MediaAgg;
|
||||
|
||||
public class Media : EntityBase
|
||||
{
|
||||
public Media(string path, string type, string category)
|
||||
public Media(string path, string type, string category, string serviceName)
|
||||
{
|
||||
|
||||
Path = path;
|
||||
Type = type;
|
||||
Category = category;
|
||||
ServiceName = serviceName;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +28,10 @@ public class Media : EntityBase
|
||||
|
||||
//دسته بندی ذخیره فایل
|
||||
public string Category { get; private set; }
|
||||
|
||||
//نام ماژولی که رکورد را ایجاد کرده
|
||||
public string ServiceName { get; private set; }
|
||||
|
||||
public List<TaskMedia> TaskMedias { get; set; }
|
||||
public List<AdminResponseMedia> AdminResponseMedias { get; set; }
|
||||
public List<ClientResponseMedia> ClientResponseMedias { get; set; }
|
||||
@@ -33,8 +39,8 @@ public class Media : EntityBase
|
||||
|
||||
public void Edit(string path, string type, string category)
|
||||
{
|
||||
Path = path;
|
||||
Type = type;
|
||||
Path = path;
|
||||
Type = type;
|
||||
Category = category;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user