Major refactor and cleanup.

This commit is contained in:
2025-11-13 04:05:35 +00:00
parent 1d67081792
commit 8f6d334af4
833 changed files with 86800 additions and 74355 deletions

View File

@@ -26,21 +26,20 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Marechai.Database.Models
{
public class LogicalPartition : BaseModel<ulong>
{
public uint Sequence { get; set; }
public string Name { get; set; }
[Required]
public string Type { get; set; }
public ulong FirstSector { get; set; }
public ulong LastSector { get; set; }
public ulong Size { get; set; }
public string Description { get; set; }
public string Scheme { get; set; }
namespace Marechai.Database.Models;
public virtual ICollection<FilesystemsByLogicalPartition> Filesystems { get; set; }
public virtual ICollection<LogicalPartitionsByMedia> Media { get; set; }
}
public class LogicalPartition : BaseModel<ulong>
{
public uint Sequence { get; set; }
public string Name { get; set; }
[Required]
public string Type { get; set; }
public ulong FirstSector { get; set; }
public ulong LastSector { get; set; }
public ulong Size { get; set; }
public string Description { get; set; }
public string Scheme { get; set; }
public virtual ICollection<FilesystemsByLogicalPartition> Filesystems { get; set; }
public virtual ICollection<LogicalPartitionsByMedia> Media { get; set; }
}