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, string serviceName) { Path = path; Type = type; Category = category; ServiceName = serviceName; } //مسیر ذخیره فایل public string Path { get; private set; } //نوع ذخیره فایل public string Type { get; private set; } //دسته بندی ذخیره فایل public string Category { get; private set; } //نام ماژولی که رکورد را ایجاد کرده public string ServiceName { get; private set; } public List TaskMedias { get; set; } public List AdminResponseMedias { get; set; } public List ClientResponseMedias { get; set; } public List TicketMedias { get; set; } public void Edit(string path, string type, string category) { Path = path; Type = type; Category = category; } }