Got most of admin panel working. Data issues fixed

This commit is contained in:
Vincent Allen
2025-09-02 09:27:23 -04:00
parent 3d82040e75
commit b2835f65c0
401 changed files with 10478 additions and 10675 deletions

View File

@@ -1,12 +1,14 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace OpenArchival.DataAccess;
public class ArchiveCategory
{
[Key]
public int? Id { get; set; }
public int Id { get; set; }
[System.ComponentModel.DataAnnotations.Schema.Index(IsUnique =true)]
public required string Name { get; set; }
public string? Description { get; set; }