using Abp.Domain.Entities; using Abp.Events.Bus.Entities; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Abp.EntityHistory { [Table("AbpEntityChanges")] public class EntityChange : Entity, IMayHaveTenant { /// /// Maximum length of property. /// Value: 48. /// public const int MaxEntityIdLength = 48; /// /// Maximum length of property. /// Value: 192. /// public const int MaxEntityTypeFullNameLength = 192; /// /// ChangeTime. /// public virtual DateTime ChangeTime { get; set; } /// /// ChangeType. /// public virtual EntityChangeType ChangeType { get; set; } /// /// Gets/sets change set id, used to group entity changes. /// public virtual long EntityChangeSetId { get; set; } /// /// Gets/sets primary key of the entity. /// [StringLength(MaxEntityIdLength)] public virtual string EntityId { get; set; } /// /// FullName of the entity type. /// [StringLength(MaxEntityTypeFullNameLength)] public virtual string EntityTypeFullName { get; set; } /// /// TenantId. /// public virtual int? TenantId { get; set; } /// /// PropertyChanges. /// public virtual ICollection PropertyChanges { get; set; } #region Not mapped [NotMapped] public virtual object EntityEntry { get; set; } #endregion } }