默认值遗漏
continuous-integration/drone/push Build is passing

This commit is contained in:
hang
2024-09-07 00:46:08 +08:00
parent 6e2a58c3d7
commit 243fae4b19
70 changed files with 323 additions and 325 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ namespace IRaCIS.Core.Domain.BaseModel
public class FailedDomainEvent
{
public Guid Id { get; set; }
public string EventType { get; set; }
public string EventData { get; set; }
public string EventType { get; set; } = string.Empty;
public string EventData { get; set; } = string.Empty;
public DateTime FailedAt { get; set; }
}
}
+1 -1
View File
@@ -104,7 +104,7 @@ namespace IRaCIS.Core.Domain.Models
public abstract class BaseAddAuditEntityWithUserName : Entity, IAuditAddWithUserName
{
public string CreateUser { get; set; }
public string CreateUser { get; set; } = string.Empty;
public Guid CreateUserId { get; set; }
public DateTime CreateTime { get; set; }
+1 -1
View File
@@ -19,7 +19,7 @@ namespace IRaCIS.Core.Domain.Models
public interface IAuditAddWithUserName : IAuditAdd<Guid>
{
public string CreateUser { get; set; }
public string CreateUser { get; set; }
}