using Abp.Domain.Entities; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Abp.EntityHistory { [Table("AbpEntityPropertyChanges")] public class EntityPropertyChange : Entity, IMayHaveTenant { /// /// Maximum length of property. /// Value: 96. /// public const int MaxPropertyNameLength = 96; /// /// Maximum length of and properties. /// Value: 512. /// public const int MaxValueLength = 512; /// /// Maximum length of property. /// Value: 512. /// public const int MaxPropertyTypeFullNameLength = 192; /// /// EntityChangeId. /// public virtual long EntityChangeId { get; set; } /// /// NewValue. /// [StringLength(MaxValueLength)] public virtual string NewValue { get; set; } /// /// OriginalValue. /// [StringLength(MaxValueLength)] public virtual string OriginalValue { get; set; } /// /// PropertyName. /// [StringLength(MaxPropertyNameLength)] public virtual string PropertyName { get; set; } /// /// Type of the JSON serialized and . /// It's the FullName of the type. /// [StringLength(MaxPropertyTypeFullNameLength)] public virtual string PropertyTypeFullName { get; set; } /// /// TenantId. /// public virtual int? TenantId { get; set; } } }