using System; using System.Collections.Generic; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.MultiTenancy; namespace Kurs.Platform.Entities; public class Activity : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } public string Type { get; set; } public string Subject { get; set; } public string Content { get; set; } public Guid? RecipientUserId { get; set; } public string RecipientUserName { get; set; } public ICollection ActivityItems { get; set; } protected Activity() { } public Activity(Guid id, string type, string subject, string content, string recipientUserName = null) : base(id) { Type = type; Subject = subject; Content = content; RecipientUserName = recipientUserName; ActivityItems = new List(); } }