mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Full code refactor and clean-up.
This commit is contained in:
@@ -27,18 +27,17 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RomRepoMgr.Database.Models
|
||||
namespace RomRepoMgr.Database.Models;
|
||||
|
||||
public class DbDisk : BaseModel<ulong>
|
||||
{
|
||||
public class DbDisk : BaseModel<ulong>
|
||||
{
|
||||
public ulong? Size { get; set; }
|
||||
[StringLength(32, MinimumLength = 32)]
|
||||
public string Md5 { get; set; }
|
||||
[StringLength(40, MinimumLength = 40)]
|
||||
public string Sha1 { get; set; }
|
||||
[DefaultValue(false)]
|
||||
public bool IsInRepo { get; set; }
|
||||
public string OriginalFileName { get; set; }
|
||||
public virtual ICollection<DiskByMachine> Machines { get; set; }
|
||||
}
|
||||
public ulong? Size { get; set; }
|
||||
[StringLength(32, MinimumLength = 32)]
|
||||
public string Md5 { get; set; }
|
||||
[StringLength(40, MinimumLength = 40)]
|
||||
public string Sha1 { get; set; }
|
||||
[DefaultValue(false)]
|
||||
public bool IsInRepo { get; set; }
|
||||
public string OriginalFileName { get; set; }
|
||||
public virtual ICollection<DiskByMachine> Machines { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user