批量处理实体类空行
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-20 14:34:32 +08:00
parent 7524d39213
commit 718ddefe97
163 changed files with 0 additions and 1923 deletions
-16
View File
@@ -2,8 +2,6 @@
namespace IRaCIS.Core.Domain.Models
{
public interface IAggregateRoot;
public interface IEntity<TKey>
{
@@ -23,8 +21,6 @@ namespace IRaCIS.Core.Domain.Models
[Required]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public Guid Id { get; set; }
#region
[JsonIgnore]
private readonly List<DomainEvent> _domainEvents = [];
@@ -32,8 +28,6 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
[NotMapped]
public IReadOnlyCollection<DomainEvent> DomainEvents => _domainEvents.AsReadOnly();
public void AddDomainEvent(DomainEvent domainEvent)
{
_domainEvents.Add(domainEvent);
@@ -49,13 +43,7 @@ namespace IRaCIS.Core.Domain.Models
_domainEvents.Clear();
}
#endregion
}
#region
public abstract class BaseAddAuditEntity : Entity, IAuditAdd
@@ -94,8 +82,6 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
public User CreateUser { get; set; }
}
public abstract class BaseFullDeleteAuditEntity : Entity, IAuditUpdate, IAuditAdd, ISoftDelete
{
public Guid? DeleteUserId { get; set; }
@@ -116,8 +102,6 @@ namespace IRaCIS.Core.Domain.Models
public Guid UpdateUserId { get; set; }
public DateTime UpdateTime { get; set; }
}
#endregion
}
@@ -7,9 +7,6 @@
public DateTime CreateTime { get; set; }
}
public interface IAuditAdd : IAuditAdd<Guid>
{
@@ -19,7 +16,4 @@
{
public string CreateUser { get; set; }
}
}
@@ -10,9 +10,4 @@
{
}
}
@@ -12,6 +12,4 @@
{
}
}