using System; using Volo.Abp.Auditing; using Volo.Abp.Domain.Entities.Auditing; namespace CMS.Plugin.HIAWms.Domain; /// /// Implements to be a base class for full-audited aggregate roots. /// [Serializable] public abstract class MyFullAuditedAggregateRoot : FullAuditedAggregateRoot { /// /// 创建人 /// public virtual string? CreatorName { get; set; } /// /// 修改人 /// public virtual string? LastModifierName { get; set; } /// /// 排序 /// public virtual int Sort { get; set; } /// /// 备注 /// public virtual string Remark { get; set; } /// /// 是否禁用 /// public virtual bool? IsDisabled { get; set; } } /// /// Implements to be a base class for full-audited aggregate roots. /// /// Type of the primary key of the entity [Serializable] public abstract class MyFullAuditedAggregateRoot : FullAuditedAggregateRoot { /// /// 创建人 /// public virtual string? CreatorName { get; set; } /// /// 修改人 /// public virtual string? LastModifierName { get; set; } /// /// 排序 /// public virtual int Sort { get; set; } /// /// 备注 /// public virtual string Remark { get; set; } /// /// 是否禁用 /// public virtual bool? IsDisabled { get; set; } protected MyFullAuditedAggregateRoot() { } protected MyFullAuditedAggregateRoot(TKey id) : base(id) { } }