Got fix working for issues editing
This commit is contained in:
@@ -14,6 +14,7 @@ public class ArtifactDefect
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Index(IsUnique = true)]
|
||||
public required string Description { get; set; }
|
||||
|
||||
public List<ArtifactEntry> ArtifactEntries { get; set; } = [];
|
||||
}
|
||||
|
||||
@@ -32,7 +32,9 @@ public class ArtifactEntry
|
||||
|
||||
public required ArtifactStorageLocation StorageLocation { get; set; }
|
||||
|
||||
public List<ArtifactEntryTag>? Tags { get; set; } = [];
|
||||
//public List<ArtifactEntryTag>? Tags { get; set; } = [];
|
||||
|
||||
public List<ArtifactEntryTag> Tags { get; set; } = [];
|
||||
|
||||
public List<ListedName>? ListedNames { get; set; } = [];
|
||||
|
||||
|
||||
@@ -17,5 +17,5 @@ public class ArtifactEntryTag
|
||||
[Index(IsUnique = true)]
|
||||
public required string Name { get; set; }
|
||||
|
||||
public List<ArtifactEntry>? ArtifactEntries { get; set; } = [];
|
||||
public List<ArtifactEntry> ArtifactEntries { get; set; } = [];
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public class ArtifactGrouping
|
||||
|
||||
public string? Description { get; set; }
|
||||
|
||||
public string? Type { get; set; }
|
||||
public ArtifactType Type { get; set; }
|
||||
|
||||
public bool IsPublicallyVisible { get; set; }
|
||||
|
||||
|
||||
@@ -11,4 +11,6 @@ public class ArtifactStorageLocation
|
||||
|
||||
[System.ComponentModel.DataAnnotations.Schema.Index(IsUnique =true)]
|
||||
public required string Location { get; set; }
|
||||
|
||||
public List<ArtifactEntry> ArtifactEntries { get; set; } = [];
|
||||
}
|
||||
|
||||
@@ -11,4 +11,6 @@ public class ArtifactType
|
||||
|
||||
[System.ComponentModel.DataAnnotations.Schema.Index(IsUnique =true)]
|
||||
public required string Name { get; set; }
|
||||
|
||||
public List<ArtifactEntry>? ArtifactEntries { get; set; } = [];
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ public class ListedName
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int Id { get; set; }
|
||||
|
||||
public required ArtifactEntry ParentArtifactEntry { get; set; }
|
||||
|
||||
public required string Value { get; set; }
|
||||
|
||||
public List<ArtifactEntry> ArtifactEntries { get; set; } = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user