Adding of archive items is mostly operational. Need to handle file upload

This commit is contained in:
Vincent Allen
2025-07-29 16:16:42 -04:00
parent 13c45e8459
commit 6475a28263
158 changed files with 2628 additions and 801 deletions

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenArchival.Core;
public class ArchiveItem
{
public required Category Category { get; set; }
public required string ItemTitle { get; set; }
public string? Description { get; set; }
public string? StorageLocation { get; set; }
public string? ArtifactType { get; set; }
public List<string>? Tags { get; set; }
public List<string>? ListedNames { get; set; }
public List<DateTime>? AssociatedDates { get; set; }
public List<string>? Defects { get; set; }
public List<string>? RelatedArtifacts { get; set; }
/// <summary>
/// TODO: Implement
/// </summary>
public List<string>? Files { get; set; }
public bool IsPublic { get; set; } = true;
}