Adding of archive items is mostly operational. Need to handle file upload
This commit is contained in:
37
OpenArchival.Core/DataObjects/ArchiveItem.cs
Normal file
37
OpenArchival.Core/DataObjects/ArchiveItem.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user