mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Major refactor and cleanup.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user